public class LuteceDefaultAdminAuthentication extends Object implements AdminAuthentication
| Constructor and Description |
|---|
LuteceDefaultAdminAuthentication() |
| 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)
Not used - Return null always for this module
|
AdminUser |
getUserPublicData(String strLogin)
Not used - Return null always for this module
|
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
|
void |
setDao(ILuteceDefaultAdminUserDAO dao)
Setter used by Spring IoC
|
public void setDao(ILuteceDefaultAdminUserDAO dao)
dao - The DAO (defined in the Spring context)public String getAuthServiceName()
getAuthServiceName in interface AdminAuthenticationpublic String getAuthType(javax.servlet.http.HttpServletRequest request)
getAuthType in interface AdminAuthenticationrequest - The HTTP requestpublic AdminUser login(String strAccessCode, String strUserPassword, javax.servlet.http.HttpServletRequest request) throws LoginException
login in interface AdminAuthenticationstrAccessCode - The usernamestrUserPassword - The user's passwordrequest - The HttpServletRequestLoginException - The Login Exceptionpublic void logout(AdminUser user)
logout in interface AdminAuthenticationuser - The userpublic AdminUser getAnonymousUser()
getAnonymousUser in interface AdminAuthenticationpublic boolean isExternalAuthentication()
isExternalAuthentication in interface AdminAuthenticationpublic AdminUser getHttpAuthenticatedUser(javax.servlet.http.HttpServletRequest request)
getHttpAuthenticatedUser in interface AdminAuthenticationrequest - The HTTP requestpublic String getLoginPageUrl()
getLoginPageUrl in interface AdminAuthenticationpublic String getChangePasswordPageUrl()
getChangePasswordPageUrl in interface AdminAuthenticationpublic String getDoLoginUrl()
getDoLoginUrl in interface AdminAuthenticationpublic String getDoLogoutUrl()
getDoLogoutUrl in interface AdminAuthenticationpublic String getNewAccountPageUrl()
getNewAccountPageUrl in interface AdminAuthenticationpublic String getViewAccountPageUrl()
getViewAccountPageUrl in interface AdminAuthenticationpublic String getLostPasswordPageUrl()
getLostPasswordPageUrl in interface AdminAuthenticationpublic String getLostLoginPageUrl()
getLostLoginPageUrl in interface AdminAuthenticationpublic Collection<AdminUser> getUserList(String strLastName, String strFirstName, String strEmail)
getUserList in interface AdminAuthenticationstrLastName - The last namestrFirstName - The first namestrEmail - The emailAdminAuthentication.getUserList(String strLastName, String strFirstName, String strEmail )public AdminUser getUserPublicData(String strLogin)
getUserPublicData in interface AdminAuthenticationstrLogin - The loginAdminAuthentication.getUserPublicData(java.lang.String)Copyright © 2020 City of Paris. All rights reserved.