public interface AdminAuthentication
Modifier and Type | Method and Description |
---|---|
AdminUser |
getAnonymousUser()
This method create an anonymous user
|
String |
getAuthServiceName()
Gets the Authentification service name
|
String |
getAuthType(javax.servlet.http.HttpServletRequest request)
Gets the Authentification type
|
String |
getChangePasswordPageUrl()
Returns the password modification page URL of the Authentication Service
|
String |
getDoLoginUrl()
Returns the DoLogin URL of the Authentication Service
|
String |
getDoLogoutUrl()
Returns the DoLogout URL of the Authentication Service
|
AdminUser |
getHttpAuthenticatedUser(javax.servlet.http.HttpServletRequest request)
Returns a Lutece user object if the user is already authenticated in the Http request.
|
String |
getLoginPageUrl()
Returns the Login page URL of the Authentication Service
|
String |
getLostLoginPageUrl()
Returns the lost login URL of the Authentication Service
|
String |
getLostPasswordPageUrl()
Returns the lost password URL of the Authentication Service
|
String |
getNewAccountPageUrl()
Returns the new account page URL of the Authentication Service
|
Collection<AdminUser> |
getUserList(String strLastName,
String strFirstName,
String strEmail)
get the list of user to display a list for selection in the main user management page
|
AdminUser |
getUserPublicData(String strAccessCode)
Get user data
|
String |
getViewAccountPageUrl()
Returns the view account page URL of the Authentication Service
|
boolean |
isExternalAuthentication()
Indicates that the user should be already authenticated by an external authentication service (ex : Web Server authentication).
|
AdminUser |
login(String strAccessCode,
String strUserPassword,
javax.servlet.http.HttpServletRequest request)
Checks the login
|
void |
logout(AdminUser user)
logout the user
|
String getAuthServiceName()
String getAuthType(javax.servlet.http.HttpServletRequest request)
request
- The HTTP requestAdminUser login(String strAccessCode, String strUserPassword, javax.servlet.http.HttpServletRequest request) throws LoginException
strAccessCode
- The usernamestrUserPassword
- The user's passwordrequest
- The HttpServletRequestLoginException
- The Login Exceptionvoid logout(AdminUser user)
user
- The userAdminUser getAnonymousUser()
boolean isExternalAuthentication()
AdminUser getHttpAuthenticatedUser(javax.servlet.http.HttpServletRequest request)
request
- The HTTP requestString getLoginPageUrl()
String getChangePasswordPageUrl()
String getDoLoginUrl()
String getDoLogoutUrl()
String getNewAccountPageUrl()
String getViewAccountPageUrl()
String getLostPasswordPageUrl()
String getLostLoginPageUrl()
Collection<AdminUser> getUserList(String strLastName, String strFirstName, String strEmail)
strLastName
- The last namestrFirstName
- The first namestrEmail
- The emailCopyright © 2020 City of Paris. All rights reserved.