public abstract class ExternalAuthentication extends AbstractAuthentication
Constructor and Description |
---|
ExternalAuthentication() |
Modifier and Type | Method and Description |
---|---|
boolean |
findResetPassword(javax.servlet.http.HttpServletRequest request,
String strLogin) |
String |
getAccessControledTemplate()
Returns the access controled template
|
String |
getAccessDeniedTemplate()
Returns the access denied template
|
String |
getDoLoginUrl()
Returns the DoLogin URL of the Authentication Service
|
String |
getDoLogoutUrl()
Returns the DoLogout URL of the Authentication Service
|
String |
getIconUrl() |
String |
getLoginPageUrl()
Returns the Login page URL of the Authentication Service
|
String |
getLostLoginPageUrl() |
String |
getLostPasswordPageUrl()
Returns the lost password URL of the Authentication Service
|
String |
getNewAccountPageUrl()
Returns the new account page URL of the Authentication Service
|
String |
getResetPasswordPageUrl(javax.servlet.http.HttpServletRequest request) |
String[] |
getRolesByUser(fr.paris.lutece.portal.service.security.LuteceUser user)
get all roles for this user : - user's roles - user's groups roles
|
fr.paris.lutece.portal.service.security.LuteceUser |
getUser(String userLogin)
Returns the user managed by the authentication service if this feature is available.
|
Collection<fr.paris.lutece.portal.service.security.LuteceUser> |
getUsers()
Returns all users managed by the authentication service if this feature is available.
|
String |
getViewAccountPageUrl()
Returns the View account page URL of the Authentication Service
|
boolean |
isDelegatedAuthentication()
Always false
|
boolean |
isExternalAuthentication()
Indicates that the user should be already authenticated by an external authentication service (ex : Web Server authentication).
|
boolean |
isMultiAuthenticationSupported()
Returns false
|
boolean |
isUsersListAvailable()
Tells whether or not the authentication service can provide a list of all its users
|
void |
updateDateLastLogin(fr.paris.lutece.portal.service.security.LuteceUser user,
javax.servlet.http.HttpServletRequest request) |
getHttpAuthenticatedUser, isUserInRole, login
public boolean isExternalAuthentication()
public boolean isDelegatedAuthentication()
public String getLoginPageUrl()
public String getDoLoginUrl()
public String getDoLogoutUrl()
public String getNewAccountPageUrl()
public String getViewAccountPageUrl()
public String getLostPasswordPageUrl()
public String getLostLoginPageUrl()
public String getAccessDeniedTemplate()
public String getAccessControledTemplate()
public boolean isUsersListAvailable()
public Collection<fr.paris.lutece.portal.service.security.LuteceUser> getUsers()
public fr.paris.lutece.portal.service.security.LuteceUser getUser(String userLogin)
userLogin
- user loginpublic String[] getRolesByUser(fr.paris.lutece.portal.service.security.LuteceUser user)
user
- The userpublic boolean isMultiAuthenticationSupported()
LuteceAuthentication.isMultiAuthenticationSupported()
public String getIconUrl()
public boolean findResetPassword(javax.servlet.http.HttpServletRequest request, String strLogin)
public String getResetPasswordPageUrl(javax.servlet.http.HttpServletRequest request)
public void updateDateLastLogin(fr.paris.lutece.portal.service.security.LuteceUser user, javax.servlet.http.HttpServletRequest request)
Copyright © 2021 City of Paris. All rights reserved.