HTML 로그인 양식 사용자 정의
HCL Domino® provides a default HTML log-in form to allow a user to enter a name and password, and then use that name and password for the entire user session. The Web browser sends the user's name and password to the server using the server's character set. Therefore, a user can enter a name and password in a character set other than ASCII or Latin-1.
이 작업 정보
The terms log-in and sign-in are used interchangeably.
사용자 이름에 사용할 수 있는 문자 집합은 기본 인증과 세션 기반 인증에서 다릅니다.
인증 유형 |
사용자 이름 |
비밀번호 |
---|---|---|
기본인증 |
ISO-8859-1의 인쇄 가능한 모든 문자 |
US-ASCII의 인쇄 가능한 모든 문자 |
HTTP 세션 인증 |
유니코드로 인쇄 가능한 모든 문자 |
US-ASCII의 인쇄 가능한 모든 문자 |
This form is created and configured in the Domino® Web Server Configuration database (DOMCFG.NSF). You can customize the form to contain additional information. To do this, the Domino® Web server must be set running.
To create and use a custom sign-in form, you must complete these procedures:
- Create the Domino® Web Server Configuration database. If you do not create the database, Domino® uses a generic log-in form.
- Create a custom form.
- Specify the custom form as the sign-in form. If the Domino® Web Server Configuration database exists on the Web server but you have not created and specified a custom sign-in form, Domino® uses the form $$LoginUserForm.
Creating the Domino® Web Server Configuration database (DOMCFG.NSF)
절차
- From the Domino® Administrator choose .
- 서버 필드에 웹 서버의 이름을 입력합니다.
- 고급 템플릿 표시 를 선택합니다.
- Select the Domino® Web Server Configuration template (DOMCFG5.NTF).
- 데이터베이스의 제목을 입력합니다.
- 파일 이름 필드에 DOMCFG.NSF 를 입력하십시오.
중요: 데이터베이스 이름은 선택 사항이 아닙니다. 웹 서버의 코드에 이 이름이 통합되어 있기 때문입니다. 데이터베이스 이름은 DOMCFG.NSF 여야 합니다.
- 확인 을 클릭합니다.
- 데이터베이스 ACL에 Anonymous 라는 항목을 추가하고 항목에 독자 액세스 권한을 부여합니다.
Creating a custom form
이 작업 정보
The simplest way to create a custom log-in form is to modify a copy of $$LoginUserForm, the example log-in form provided in the Domino® Configuration database. You can also create a new log-in form.
절차
- In the Domino® Designer client, open the Domino® Configuration database (DOMCFG.NSF).
- Expand .
- 다음 중 하나를 수행하십시오.
- To create a custom form using $$LoginUserForm, make a copy of $$LoginUserForm, then double-click the copy to open it. (You can rename the copy if necessary -- for example, CustomLoginForm.)
- Click New Form to create a new form.
- When you finish designing the custom form, save and close it.
Specifying the custom form as the log-in form
절차
- In the Notes® client, open the Domino® Configuration database (DOMCFG.NSF) and open the Sign In Form Mappings view.
- 매핑 추가 를 클릭합니다.
- Under Site Information, choose one:
- All Web Sites/Entire Server -- to use the custom log-in form for all Web Sites on the server, or for the entire Web server.
- Specific Web Sites/Virtual Servers -- to map the custom log-in form to specific Web Site documents or Virtual Servers. If you choose this option, a new field appears, in which you specify the IP addresses of the Web Site documents or Virtual Servers
- 선택 과목: 댓글을 입력하세요.
- Enter the file name of the database that contains the custom form. This should be DOMCFG.NSF unless you store the custom form in a different database.
- Enter the name of the custom log-in form.
- 문서를 저장하고 닫습니다.
오류 메시지 구성
이 작업 정보
You can enable session-based Web authentication to return error messages for log-in failures and session time-outs. This is accomplished by configuring two fields on your custom login form -- the reasontext and reasontype fields. DOMCFG5.NTF includes these two fields in the default form provided, $$LoginUserForm. (To obtain the changes, you must refresh or replace the design of DOMCFG.NSF with the most current DOMCFG5.NTF).
The five cases that cause the Login form to appear are encoded in the field reasontype and include:
- 사용자에게 로그인하라는 메시지가 표시됩니다. 이때 오류 메시지는 표시되지 않습니다.
User Name, you are not authorized to access application.nsf. Please sign in with a name which has sufficient access rights.
사용자는 서버에 대한 올바른 자격 증명으로 인증되었지만 데이터베이스나 파일에 대한 권한은 없습니다.You provided an Invalid username or password. Please sign in again.
사용자가 잘못된 이름이나 비밀번호를 제공했습니다.Your connection has expired. Please sign in again.
이는 서버 문서에 구성된 대로 지정된 시간(기본값=30분) 동안 브라우저가 서버에 요청을 보내지 않은 경우 발생합니다. 세션 시간이 초과되면 저장되지 않은 내용이 손실됩니다. 관리자는 서버의 세션 시간 초과가 자주 발생하는 경우 근무 시간만큼 연장해야 합니다.User Name, your login has been invalidated due to a timing issue with the login server. (The servers may need to have their clocks synchronized to resolve this.) Please sign in again.
이는 다중 서버 세션 인증이 구성되고 유휴 세션 시간 제한이 활성화된 경우 발생합니다. 이 메시지는 SSO 서버가 현재 시간에 동의하지 않아 사용자의 SSO 세션이 무효화될 수 있음을 나타냅니다.