|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AdminAuthentication
This Interface defines all methods required by an authentication service password is not valid
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
String getAuthServiceName()
String getAuthType(javax.servlet.http.HttpServletRequest request)
request - The HTTP request
AdminUser login(String strAccessCode,
String strUserPassword,
javax.servlet.http.HttpServletRequest request)
throws LoginException
strAccessCode - The usernamestrUserPassword - The user's passwordrequest - The HttpServletRequest
LoginException - The Login Exceptionvoid logout(AdminUser user)
user - The userAdminUser getAnonymousUser()
boolean isExternalAuthentication()
AdminUser getHttpAuthenticatedUser(javax.servlet.http.HttpServletRequest request)
request - The HTTP request
String 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 email
AdminUser getUserPublicData(String strAccessCode)
strAccessCode - The access code (login)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||