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
|
fr.paris.lutece.portal.service.security.LuteceUser |
getHttpAuthenticatedUser(javax.servlet.http.HttpServletRequest request)
Returns a Lutece user object if the user is already authenticated by Openam
|
String |
getIconUrl() |
String |
getName() |
String |
getPluginName() |
boolean |
isMultiAuthenticationSupported() |
void |
logout(fr.paris.lutece.portal.service.security.LuteceUser user)
This methods logout the user
|
fr.paris.lutece.portal.service.security.LuteceUser |
processLogin(String strUserName,
String strUserPassword,
javax.servlet.http.HttpServletRequest request)
This methods checks the login info in the LDAP repository
|
findResetPassword, getAccessControledTemplate, getAccessDeniedTemplate, getDoLoginUrl, getDoLogoutUrl, 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 processLogin(String strUserName, String strUserPassword, javax.servlet.http.HttpServletRequest request) throws LoginException, fr.paris.lutece.portal.service.security.LoginRedirectException
processLogin in class fr.paris.lutece.plugins.mylutece.authentication.AbstractAuthenticationstrUserName - 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 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.PortalAuthenticationpublic fr.paris.lutece.portal.service.security.LuteceUser getHttpAuthenticatedUser(javax.servlet.http.HttpServletRequest request)
getHttpAuthenticatedUser in interface fr.paris.lutece.portal.service.security.LuteceAuthenticationgetHttpAuthenticatedUser in class fr.paris.lutece.plugins.mylutece.authentication.PortalAuthenticationrequest - The HTTP requestCopyright © 2020 City of Paris. All rights reserved.