This component adds a login/ logout link on your application. See the screenshots for more information.
The login.css file could be used to change the style of the control.
Requirements :
You need to use session authentication, if not enabled, enable it on you server document under 'internet protocols' -> 'domino web engine'. When using internet sites, enable it on your internet site.
This custom control can be fully adjusted by setting these properties :
property name
|
type
|
example value
|
allowBrowserCaching
|
boolean
|
false
|
loginMessage
|
string
|
Please type your username and password here
|
loggedInMessage
|
string
|
Login succesful, redirecting...
|
loginFailMessage
|
string
|
Username/ password incorrect, please try again
|
loginFailReason1Message
|
string
|
login fail reason error 1 means not authorized to use this website.
|
loginFailReason2Message
|
string
|
login fail reason error 2 means username/ password no match
|
loginFailReason3Message
|
string
|
login fail reason error 3 means session is expired.
|
loginFailReason4Message
|
string
|
login fail reason error 4 means server clocks are out of sync.
|
loginFailReason5Message
|
string
|
login fail reason error 5 means account is locked out
|
loginDialogTitle
|
string
|
login
|
loginButtonText
|
string
|
Login
|
loginUrlParameter
|
String
|
logmein
|
labelName
|
string
|
Username:
|
labelPassword
|
string
|
Password:
|
urlLoginNSF
|
string
|
facesContext.getExternalContext().getRequest().getContextPath()
|
urlAfterLogin
|
string
|
http://www.mysite.com/site/portal
|
urlAfterLogout
|
string
|
http://www.mysite.com/site/home
|
loginLinkText
|
string
|
login
|
logoutLinkText
|
string
|
logout
|
displayLogoutLink
|
boolean
|
true
|
showRememberMe
|
boolean
|
true
|
textRememberMe
|
string
|
"remember me, put my username and password in a cookie"
|
xDaysRememberMe
|
integer
|
90
|
cookieDomain
|
string
|
"openntf.org" or "home.mysite.com"
|
|
|
|
Ferry Kranenburg