|
||||||||||
| 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 |
java.lang.String |
getAuthServiceName()
Gets the Authentification service name |
java.lang.String |
getAuthType(javax.servlet.http.HttpServletRequest request)
Gets the Authentification type |
java.lang.String |
getChangePasswordPageUrl()
Returns the password modification page URL of the Authentication Service |
java.lang.String |
getDoLoginUrl()
Returns the DoLogin URL of the Authentication Service |
java.lang.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. |
java.lang.String |
getLoginPageUrl()
Returns the Login page URL of the Authentication Service |
java.lang.String |
getLostPasswordPageUrl()
Returns the lost password URL of the Authentication Service |
java.lang.String |
getNewAccountPageUrl()
Returns the new account page URL of the Authentication Service |
java.util.Collection<AdminUser> |
getUserList(java.lang.String strLastName,
java.lang.String strFirstName,
java.lang.String strEmail)
get the list of user to display a list for selection in the main user management page |
AdminUser |
getUserPublicData(java.lang.String strAccessCode)
Get user data |
java.lang.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(java.lang.String strAccessCode,
java.lang.String strUserPassword,
javax.servlet.http.HttpServletRequest request)
Checks the login |
void |
logout(AdminUser user)
logout the user |
| Method Detail |
|---|
java.lang.String getAuthServiceName()
java.lang.String getAuthType(javax.servlet.http.HttpServletRequest request)
request - The HTTP request
AdminUser login(java.lang.String strAccessCode,
java.lang.String strUserPassword,
javax.servlet.http.HttpServletRequest request)
throws javax.security.auth.login.LoginException
strAccessCode - The usernamestrUserPassword - The user's passordrequest - The HttpServletRequest
javax.security.auth.login.LoginException - The Login Exceptionvoid logout(AdminUser user)
user - The userAdminUser getAnonymousUser()
boolean isExternalAuthentication()
AdminUser getHttpAuthenticatedUser(javax.servlet.http.HttpServletRequest request)
request - The HTTP request
java.lang.String getLoginPageUrl()
java.lang.String getChangePasswordPageUrl()
java.lang.String getDoLoginUrl()
java.lang.String getDoLogoutUrl()
java.lang.String getNewAccountPageUrl()
java.lang.String getViewAccountPageUrl()
java.lang.String getLostPasswordPageUrl()
java.util.Collection<AdminUser> getUserList(java.lang.String strLastName,
java.lang.String strFirstName,
java.lang.String strEmail)
strLastName - The last namestrFirstName - The first namestrEmail - The email
AdminUser getUserPublicData(java.lang.String strAccessCode)
strAccessCode - The access code (login)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||