public class Oauth2Authentication extends fr.paris.lutece.plugins.mylutece.authentication.PortalAuthentication implements Serializable
| Constructor and Description |
|---|
Oauth2Authentication() |
| 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
|
findResetPassword, getAccessControledTemplate, getAccessDeniedTemplate, getDoLoginUrl, getDoLogoutUrl, getHttpAuthenticatedUser, getLoginPageUrl, getLostLoginPageUrl, getLostPasswordPageUrl, getNewAccountPageUrl, getResetPasswordPageUrl, getRolesByUser, getUser, getUsers, getViewAccountPageUrl, isDelegatedAuthentication, isExternalAuthentication, isUsersListAvailable, toString, updateDateLastLoginpublic String getAuthServiceName()
getAuthServiceName in interface fr.paris.lutece.portal.service.security.LuteceAuthenticationpublic String getAuthType(javax.servlet.http.HttpServletRequest request)
getAuthType in interface fr.paris.lutece.portal.service.security.LuteceAuthenticationrequest - 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
login in interface fr.paris.lutece.portal.service.security.LuteceAuthenticationstrUserName - 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)
logout in interface fr.paris.lutece.portal.service.security.LuteceAuthenticationuser - The userpublic fr.paris.lutece.portal.service.security.LuteceUser getAnonymousUser()
getAnonymousUser in interface fr.paris.lutece.portal.service.security.LuteceAuthenticationpublic boolean isUserInRole(fr.paris.lutece.portal.service.security.LuteceUser user,
javax.servlet.http.HttpServletRequest request,
String strRole)
isUserInRole in interface fr.paris.lutece.portal.service.security.LuteceAuthenticationuser - The userrequest - The HTTP requeststrRole - The role namepublic String getIconUrl()
getIconUrl in interface fr.paris.lutece.portal.service.security.LuteceAuthenticationgetIconUrl in class fr.paris.lutece.plugins.mylutece.authentication.PortalAuthenticationpublic String getName()
getName in interface fr.paris.lutece.portal.service.security.LuteceAuthenticationpublic String getPluginName()
getPluginName in interface fr.paris.lutece.portal.service.security.LuteceAuthenticationpublic boolean isMultiAuthenticationSupported()
isMultiAuthenticationSupported in interface fr.paris.lutece.portal.service.security.LuteceAuthenticationisMultiAuthenticationSupported in class fr.paris.lutece.plugins.mylutece.authentication.PortalAuthenticationCopyright © 2018 City of Paris. All rights reserved.