public class SAMLAuthentication
extends fr.paris.lutece.plugins.mylutece.authentication.PortalAuthentication
| Constructor and Description |
|---|
SAMLAuthentication() |
| Modifier and Type | Method and Description |
|---|---|
fr.paris.lutece.portal.service.security.LuteceUser |
getAnonymousUser()
This method create an anonymous user
|
String |
getAuthServiceName()
Gets the Authentification service name
|
String |
getAuthType(javax.servlet.http.HttpServletRequest request)
Gets the Authentification type
|
String |
getName() |
String |
getPluginName() |
String[] |
getRolesByUser(fr.paris.lutece.portal.service.security.LuteceUser user) |
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)
Checks the login
|
void |
logout(fr.paris.lutece.portal.service.security.LuteceUser user)
logout the user
|
findResetPassword, getAccessControledTemplate, getAccessDeniedTemplate, getDoLoginUrl, getDoLogoutUrl, getHttpAuthenticatedUser, getIconUrl, getLoginPageUrl, getLostLoginPageUrl, getLostPasswordPageUrl, getNewAccountPageUrl, getResetPasswordPageUrl, getUser, getUsers, getViewAccountPageUrl, isDelegatedAuthentication, isExternalAuthentication, isMultiAuthenticationSupported, isUsersListAvailable, toString, updateDateLastLoginpublic fr.paris.lutece.portal.service.security.LuteceUser getAnonymousUser()
public String getAuthServiceName()
public String getAuthType(javax.servlet.http.HttpServletRequest request)
request - The HTTP requestpublic 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 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 user's passordrequest - The HttpServletRequestLoginException - If a Login error occuredfr.paris.lutece.portal.service.security.LoginRedirectException - If the the login process should be redirectedpublic void logout(fr.paris.lutece.portal.service.security.LuteceUser user)
user - The userpublic String[] getRolesByUser(fr.paris.lutece.portal.service.security.LuteceUser user)
getRolesByUser in interface fr.paris.lutece.portal.service.security.LuteceAuthenticationgetRolesByUser in class fr.paris.lutece.plugins.mylutece.authentication.PortalAuthenticationpublic String getName()
public String getPluginName()
Copyright © 2015 City of Paris. All rights reserved.