|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.mylutece.authentication.PortalAuthentication
public abstract class PortalAuthentication
PortalAuthentication : default authentication
Constructor Summary | |
---|---|
PortalAuthentication()
|
Method Summary | |
---|---|
boolean |
findResetPassword(javax.servlet.http.HttpServletRequest request,
java.lang.String strLogin)
|
java.lang.String |
getAccessControledTemplate()
Returns the access controled template |
java.lang.String |
getAccessDeniedTemplate()
Returns the access denied template |
java.lang.String |
getDoLoginUrl()
|
java.lang.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. |
java.lang.String |
getIconUrl()
|
java.lang.String |
getLoginPageUrl()
|
java.lang.String |
getLostPasswordPageUrl()
Returns the lost password URL of the Authentication Service |
java.lang.String |
getNewAccountPageUrl()
Returns the new account page URL of the Authentication Service |
java.lang.String |
getResetPasswordPageUrl(javax.servlet.http.HttpServletRequest request)
|
java.lang.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(java.lang.String strUserLogin)
Returns the user managed by the authentication service if this feature is available. |
java.util.Collection<fr.paris.lutece.portal.service.security.LuteceUser> |
getUsers()
Returns all users managed by the authentication service if this feature is available. |
java.lang.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 |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface fr.paris.lutece.portal.service.security.LuteceAuthentication |
---|
getAnonymousUser, getAuthServiceName, getAuthType, getName, getPluginName, isUserInRole, login, logout |
Constructor Detail |
---|
public PortalAuthentication()
Method Detail |
---|
public boolean isExternalAuthentication()
isExternalAuthentication
in interface fr.paris.lutece.portal.service.security.LuteceAuthentication
public boolean isDelegatedAuthentication()
isDelegatedAuthentication
in interface fr.paris.lutece.portal.service.security.LuteceAuthentication
public java.lang.String getLoginPageUrl()
getLoginPageUrl
in interface fr.paris.lutece.portal.service.security.LuteceAuthentication
public java.lang.String getDoLoginUrl()
getDoLoginUrl
in interface fr.paris.lutece.portal.service.security.LuteceAuthentication
public boolean findResetPassword(javax.servlet.http.HttpServletRequest request, java.lang.String strLogin)
findResetPassword
in interface fr.paris.lutece.portal.service.security.LuteceAuthentication
public java.lang.String getResetPasswordPageUrl(javax.servlet.http.HttpServletRequest request)
getResetPasswordPageUrl
in interface fr.paris.lutece.portal.service.security.LuteceAuthentication
public java.lang.String getNewAccountPageUrl()
getNewAccountPageUrl
in interface fr.paris.lutece.portal.service.security.LuteceAuthentication
public java.lang.String getViewAccountPageUrl()
getViewAccountPageUrl
in interface fr.paris.lutece.portal.service.security.LuteceAuthentication
public java.lang.String getLostPasswordPageUrl()
getLostPasswordPageUrl
in interface fr.paris.lutece.portal.service.security.LuteceAuthentication
public java.lang.String getDoLogoutUrl()
getDoLogoutUrl
in interface fr.paris.lutece.portal.service.security.LuteceAuthentication
public fr.paris.lutece.portal.service.security.LuteceUser getHttpAuthenticatedUser(javax.servlet.http.HttpServletRequest request)
getHttpAuthenticatedUser
in interface fr.paris.lutece.portal.service.security.LuteceAuthentication
request
- The HTTP request
public java.lang.String getAccessDeniedTemplate()
getAccessDeniedTemplate
in interface fr.paris.lutece.portal.service.security.LuteceAuthentication
public java.lang.String getAccessControledTemplate()
getAccessControledTemplate
in interface fr.paris.lutece.portal.service.security.LuteceAuthentication
public boolean isUsersListAvailable()
isUsersListAvailable
in interface fr.paris.lutece.portal.service.security.LuteceAuthentication
public java.util.Collection<fr.paris.lutece.portal.service.security.LuteceUser> getUsers()
getUsers
in interface fr.paris.lutece.portal.service.security.LuteceAuthentication
public fr.paris.lutece.portal.service.security.LuteceUser getUser(java.lang.String strUserLogin)
getUser
in interface fr.paris.lutece.portal.service.security.LuteceAuthentication
strUserLogin
- user login
public java.lang.String[] getRolesByUser(fr.paris.lutece.portal.service.security.LuteceUser user)
getRolesByUser
in interface fr.paris.lutece.portal.service.security.LuteceAuthentication
user
- The user
public boolean isMultiAuthenticationSupported()
isMultiAuthenticationSupported
in interface fr.paris.lutece.portal.service.security.LuteceAuthentication
LuteceAuthentication.isMultiAuthenticationSupported()
public java.lang.String getIconUrl()
getIconUrl
in interface fr.paris.lutece.portal.service.security.LuteceAuthentication
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |