fr.paris.lutece.plugins.adminauthenticationdatabase
Class AdminDatabaseAuthentication

java.lang.Object
  extended by fr.paris.lutece.plugins.adminauthenticationdatabase.AdminDatabaseAuthentication
All Implemented Interfaces:
fr.paris.lutece.portal.business.user.authentication.AdminAuthentication

public class AdminDatabaseAuthentication
extends java.lang.Object
implements fr.paris.lutece.portal.business.user.authentication.AdminAuthentication

Data authentication module for admin authentication


Constructor Summary
AdminDatabaseAuthentication()
           
 
Method Summary
 fr.paris.lutece.portal.business.user.AdminUser getAnonymousUser()
           
 java.lang.String getAuthServiceName()
           
 java.lang.String getAuthType(javax.servlet.http.HttpServletRequest request)
           
 java.lang.String getChangePasswordPageUrl()
           
 java.lang.String getDoLoginUrl()
           
 java.lang.String getDoLogoutUrl()
           
 fr.paris.lutece.portal.business.user.AdminUser getHttpAuthenticatedUser(javax.servlet.http.HttpServletRequest request)
           
 java.lang.String getLoginPageUrl()
           
 java.lang.String getLostPasswordPageUrl()
           
 java.lang.String getNewAccountPageUrl()
           
 java.util.Collection getUserList(java.lang.String strLastName, java.lang.String strFirstName, java.lang.String strEmail)
           
 fr.paris.lutece.portal.business.user.AdminUser getUserPublicData(java.lang.String strLogin)
           
 java.lang.String getViewAccountPageUrl()
           
 boolean isExternalAuthentication()
           
 fr.paris.lutece.portal.business.user.AdminUser login(java.lang.String strAccessCode, java.lang.String strUserPassword, javax.servlet.http.HttpServletRequest request)
           
 void logout(fr.paris.lutece.portal.business.user.AdminUser user)
          For non-external authentication : nothing to do
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminDatabaseAuthentication

public AdminDatabaseAuthentication()
Method Detail

getAuthServiceName

public java.lang.String getAuthServiceName()
Specified by:
getAuthServiceName in interface fr.paris.lutece.portal.business.user.authentication.AdminAuthentication
See Also:
AdminAuthentication.getAuthServiceName()

getAuthType

public java.lang.String getAuthType(javax.servlet.http.HttpServletRequest request)
Specified by:
getAuthType in interface fr.paris.lutece.portal.business.user.authentication.AdminAuthentication
Returns:
HttpServletRequest.BASIC_AUTH
See Also:
AdminAuthentication.getAuthType(javax.servlet.http.HttpServletRequest)

login

public fr.paris.lutece.portal.business.user.AdminUser login(java.lang.String strAccessCode,
                                                            java.lang.String strUserPassword,
                                                            javax.servlet.http.HttpServletRequest request)
                                                     throws javax.security.auth.login.LoginException
Specified by:
login in interface fr.paris.lutece.portal.business.user.authentication.AdminAuthentication
Throws:
javax.security.auth.login.LoginException

logout

public void logout(fr.paris.lutece.portal.business.user.AdminUser user)
For non-external authentication : nothing to do

Specified by:
logout in interface fr.paris.lutece.portal.business.user.authentication.AdminAuthentication
See Also:
fr.paris.lutece.portal.business.user.authentication.AdminAuthentication#logout(fr.paris.lutece.portal.business.user.authentication.AdminUser)

getAnonymousUser

public fr.paris.lutece.portal.business.user.AdminUser getAnonymousUser()
Specified by:
getAnonymousUser in interface fr.paris.lutece.portal.business.user.authentication.AdminAuthentication

isExternalAuthentication

public boolean isExternalAuthentication()
Specified by:
isExternalAuthentication in interface fr.paris.lutece.portal.business.user.authentication.AdminAuthentication
Returns:
false always
See Also:
AdminAuthentication.isExternalAuthentication()

getHttpAuthenticatedUser

public fr.paris.lutece.portal.business.user.AdminUser getHttpAuthenticatedUser(javax.servlet.http.HttpServletRequest request)
Specified by:
getHttpAuthenticatedUser in interface fr.paris.lutece.portal.business.user.authentication.AdminAuthentication
Returns:
null always
See Also:
AdminAuthentication.getHttpAuthenticatedUser(javax.servlet.http.HttpServletRequest)

getLoginPageUrl

public java.lang.String getLoginPageUrl()
Specified by:
getLoginPageUrl in interface fr.paris.lutece.portal.business.user.authentication.AdminAuthentication
See Also:
AdminAuthentication.getLoginPageUrl()

getChangePasswordPageUrl

public java.lang.String getChangePasswordPageUrl()
Specified by:
getChangePasswordPageUrl in interface fr.paris.lutece.portal.business.user.authentication.AdminAuthentication

getDoLoginUrl

public java.lang.String getDoLoginUrl()
Specified by:
getDoLoginUrl in interface fr.paris.lutece.portal.business.user.authentication.AdminAuthentication

getDoLogoutUrl

public java.lang.String getDoLogoutUrl()
Specified by:
getDoLogoutUrl in interface fr.paris.lutece.portal.business.user.authentication.AdminAuthentication

getNewAccountPageUrl

public java.lang.String getNewAccountPageUrl()
Specified by:
getNewAccountPageUrl in interface fr.paris.lutece.portal.business.user.authentication.AdminAuthentication

getViewAccountPageUrl

public java.lang.String getViewAccountPageUrl()
Specified by:
getViewAccountPageUrl in interface fr.paris.lutece.portal.business.user.authentication.AdminAuthentication

getLostPasswordPageUrl

public java.lang.String getLostPasswordPageUrl()
Specified by:
getLostPasswordPageUrl in interface fr.paris.lutece.portal.business.user.authentication.AdminAuthentication

getUserList

public java.util.Collection getUserList(java.lang.String strLastName,
                                        java.lang.String strFirstName,
                                        java.lang.String strEmail)
Specified by:
getUserList in interface fr.paris.lutece.portal.business.user.authentication.AdminAuthentication
See Also:
fr.paris.lutece.portal.business.user.authentication.AdminAuthentication#getUserList()

getUserPublicData

public fr.paris.lutece.portal.business.user.AdminUser getUserPublicData(java.lang.String strLogin)
Specified by:
getUserPublicData in interface fr.paris.lutece.portal.business.user.authentication.AdminAuthentication
See Also:
AdminAuthentication.getUserPublicData(java.lang.String)


Copyright © 2011 Mairie de Paris. All Rights Reserved.