public abstract class PortalAuthentication extends AbstractAuthentication
Constructor and Description |
---|
PortalAuthentication() |
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() |
String |
getDoLogoutUrl()
Returns the disconnect URL of the Authentication Service
|
fr.paris.lutece.portal.service.security.LuteceUser |
getHttpAuthenticatedUser(javax.servlet.http.HttpServletRequest request)
Returns a Lutece user object if the user is already authenticated in the Http request.
|
String |
getIconUrl() |
String |
getLoginPageUrl() |
String |
getLostLoginPageUrl() |
String |
getLostPasswordPageUrl() |
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 strUserLogin)
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() |
boolean |
isExternalAuthentication()
Indicates that the user should be already authenticated by an external authentication service (ex : Web Server authentication).
|
boolean |
isMultiAuthenticationSupported()
Return false
|
boolean |
isUsersListAvailable()
Tells whether or not the authentication service can provide a list of all its users
|
String |
toString() |
void |
updateDateLastLogin(fr.paris.lutece.portal.service.security.LuteceUser user,
javax.servlet.http.HttpServletRequest request) |
isUserInRole, login
public boolean isExternalAuthentication()
public boolean isDelegatedAuthentication()
public String getLoginPageUrl()
public String getDoLoginUrl()
public boolean findResetPassword(javax.servlet.http.HttpServletRequest request, String strLogin)
public String getResetPasswordPageUrl(javax.servlet.http.HttpServletRequest request)
public String getNewAccountPageUrl()
public String getViewAccountPageUrl()
public String getLostPasswordPageUrl()
public String getLostLoginPageUrl()
public String getDoLogoutUrl()
public fr.paris.lutece.portal.service.security.LuteceUser getHttpAuthenticatedUser(javax.servlet.http.HttpServletRequest request)
getHttpAuthenticatedUser
in interface fr.paris.lutece.portal.service.security.LuteceAuthentication
getHttpAuthenticatedUser
in class AbstractAuthentication
request
- The HTTP requestpublic 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 strUserLogin)
strUserLogin
- user loginpublic String[] getRolesByUser(fr.paris.lutece.portal.service.security.LuteceUser user)
user
- The userpublic boolean isMultiAuthenticationSupported()
LuteceAuthentication.isMultiAuthenticationSupported()
public String getIconUrl()
public void updateDateLastLogin(fr.paris.lutece.portal.service.security.LuteceUser user, javax.servlet.http.HttpServletRequest request)
Copyright © 2021 City of Paris. All rights reserved.