|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.user.authentication.LuteceDefaultAdminAuthentication
public class LuteceDefaultAdminAuthentication
Default authentication module for admin authentication
Constructor Summary | |
---|---|
LuteceDefaultAdminAuthentication()
|
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)
Not used - Return null always for this module |
AdminUser |
getUserPublicData(java.lang.String strLogin)
Not used - Return null always for this module |
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 |
void |
setDao(ILuteceDefaultAdminUserDAO dao)
Setter used by Spring IoC |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LuteceDefaultAdminAuthentication()
Method Detail |
---|
public void setDao(ILuteceDefaultAdminUserDAO dao)
dao
- The DAO (defined in the Spring context)public java.lang.String getAuthServiceName()
getAuthServiceName
in interface AdminAuthentication
public java.lang.String getAuthType(javax.servlet.http.HttpServletRequest request)
getAuthType
in interface AdminAuthentication
request
- The HTTP request
public AdminUser login(java.lang.String strAccessCode, java.lang.String strUserPassword, javax.servlet.http.HttpServletRequest request) throws javax.security.auth.login.LoginException
login
in interface AdminAuthentication
strAccessCode
- The usernamestrUserPassword
- The user's passordrequest
- The HttpServletRequest
javax.security.auth.login.LoginException
- The Login Exceptionpublic void logout(AdminUser user)
logout
in interface AdminAuthentication
user
- The userpublic AdminUser getAnonymousUser()
getAnonymousUser
in interface AdminAuthentication
public boolean isExternalAuthentication()
isExternalAuthentication
in interface AdminAuthentication
public AdminUser getHttpAuthenticatedUser(javax.servlet.http.HttpServletRequest request)
getHttpAuthenticatedUser
in interface AdminAuthentication
request
- The HTTP request
public java.lang.String getLoginPageUrl()
getLoginPageUrl
in interface AdminAuthentication
public java.lang.String getChangePasswordPageUrl()
getChangePasswordPageUrl
in interface AdminAuthentication
public java.lang.String getDoLoginUrl()
getDoLoginUrl
in interface AdminAuthentication
public java.lang.String getDoLogoutUrl()
getDoLogoutUrl
in interface AdminAuthentication
public java.lang.String getNewAccountPageUrl()
getNewAccountPageUrl
in interface AdminAuthentication
public java.lang.String getViewAccountPageUrl()
getViewAccountPageUrl
in interface AdminAuthentication
public java.lang.String getLostPasswordPageUrl()
getLostPasswordPageUrl
in interface AdminAuthentication
public java.util.Collection<AdminUser> getUserList(java.lang.String strLastName, java.lang.String strFirstName, java.lang.String strEmail)
getUserList
in interface AdminAuthentication
strLastName
- The last namestrFirstName
- The first namestrEmail
- The email
fr.paris.lutece.portal.business.user.authentication.AdminAuthentication#getUserList()
public AdminUser getUserPublicData(java.lang.String strLogin)
getUserPublicData
in interface AdminAuthentication
strLogin
- The login
AdminAuthentication.getUserPublicData(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |