public class OpenIDAuthentication
extends fr.paris.lutece.plugins.mylutece.authentication.PortalAuthentication
| Constructor and Description |
|---|
OpenIDAuthentication()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
fr.paris.lutece.portal.service.security.LuteceUser |
getAnonymousUser()
This method returns an anonymous Lutece user
|
String |
getAuthServiceName()
Gets the Authentification service name
|
String |
getAuthType(javax.servlet.http.HttpServletRequest request)
Gets the Authentification type
|
String |
getIconUrl() |
String |
getName() |
String |
getPluginName() |
boolean |
isMultiAuthenticationSupported() |
boolean |
isUserInRole(fr.paris.lutece.portal.service.security.LuteceUser user,
javax.servlet.http.HttpServletRequest request,
String strRole)
Checks that the current user is associated to a given role
|
fr.paris.lutece.portal.service.security.LuteceUser |
login(String strUserName,
String strUserPassword,
javax.servlet.http.HttpServletRequest request)
This methods checks the login info in the LDAP repository
|
void |
logout(fr.paris.lutece.portal.service.security.LuteceUser user)
This methods logout the user
|
String |
verifyResponse(javax.servlet.http.HttpServletRequest request)
processing the authentication response
|
findResetPassword, getAccessControledTemplate, getAccessDeniedTemplate, getDoLoginUrl, getDoLogoutUrl, getHttpAuthenticatedUser, getLoginPageUrl, getLostLoginPageUrl, getLostPasswordPageUrl, getNewAccountPageUrl, getResetPasswordPageUrl, getRolesByUser, getUser, getUsers, getViewAccountPageUrl, isDelegatedAuthentication, isExternalAuthentication, isUsersListAvailable, toString, updateDateLastLoginpublic String getAuthServiceName()
public String getAuthType(javax.servlet.http.HttpServletRequest request)
request - The HTTP requestpublic fr.paris.lutece.portal.service.security.LuteceUser login(String strUserName, String strUserPassword, javax.servlet.http.HttpServletRequest request) throws LoginException, fr.paris.lutece.portal.service.security.LoginRedirectException
strUserName - The usernamestrUserPassword - The passwordrequest - The HttpServletRequestfr.paris.lutece.portal.service.security.LoginRedirectException - This exception is used to redirect the authentication to the providerLoginException - The LoginExceptionpublic void logout(fr.paris.lutece.portal.service.security.LuteceUser user)
user - The userpublic fr.paris.lutece.portal.service.security.LuteceUser getAnonymousUser()
public boolean isUserInRole(fr.paris.lutece.portal.service.security.LuteceUser user,
javax.servlet.http.HttpServletRequest request,
String strRole)
user - The userrequest - The HTTP requeststrRole - The role namepublic String verifyResponse(javax.servlet.http.HttpServletRequest request)
request - The HTTP requestpublic String getIconUrl()
getIconUrl in interface fr.paris.lutece.portal.service.security.LuteceAuthenticationgetIconUrl in class fr.paris.lutece.plugins.mylutece.authentication.PortalAuthenticationpublic String getName()
public String getPluginName()
public boolean isMultiAuthenticationSupported()
isMultiAuthenticationSupported in interface fr.paris.lutece.portal.service.security.LuteceAuthenticationisMultiAuthenticationSupported in class fr.paris.lutece.plugins.mylutece.authentication.PortalAuthenticationCopyright © 2015 City of Paris. All rights reserved.