Class AnonymousAuthenticatorForCAS2
- java.lang.Object
-
- org.nuxeo.ecm.platform.ui.web.auth.plugins.AnonymousAuthenticator
-
- org.nuxeo.ecm.platform.ui.web.auth.cas2.AnonymousAuthenticatorForCAS2
-
- All Implemented Interfaces:
NuxeoAuthenticationPlugin
,NuxeoAuthenticationPluginLogoutExtension
public class AnonymousAuthenticatorForCAS2 extends AnonymousAuthenticator
Anonymous authenticator that redirect logout to CAS server authentication to connect to nuxeo.- Author:
- Benjamin JALON
-
-
Field Summary
Fields Modifier and Type Field Description protected Cas2Authenticator
casAuthenticator
protected static Log
log
-
Fields inherited from class org.nuxeo.ecm.platform.ui.web.auth.plugins.AnonymousAuthenticator
anonymousLogin, BLOCK_ANONYMOUS_LOGIN_KEY, initialized
-
-
Constructor Summary
Constructors Constructor Description AnonymousAuthenticatorForCAS2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cas2Authenticator
getCas2Authenticator()
Boolean
handleLogout(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)
Handles logout operation.-
Methods inherited from class org.nuxeo.ecm.platform.ui.web.auth.plugins.AnonymousAuthenticator
getUnAuthenticatedURLPrefix, handleLoginPrompt, handleRetrieveIdentity, initPlugin, isAnonymousLoginBlocked, isAnonymousRequest, needLoginPrompt
-
-
-
-
Field Detail
-
casAuthenticator
protected Cas2Authenticator casAuthenticator
-
-
Constructor Detail
-
AnonymousAuthenticatorForCAS2
public AnonymousAuthenticatorForCAS2()
-
-
Method Detail
-
handleLogout
public Boolean handleLogout(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)
Description copied from interface:NuxeoAuthenticationPluginLogoutExtension
Handles logout operation.Generic logout (killing session and Seam objects) is done by LogoutActionBean This interface must be implemented by auth plugin when the target auth system needs a specific logout procedure.
- Specified by:
handleLogout
in interfaceNuxeoAuthenticationPluginLogoutExtension
- Overrides:
handleLogout
in classAnonymousAuthenticator
- Returns:
- true if caller must stop execution (ie: logout generated a redirect), false otherwise
-
getCas2Authenticator
public Cas2Authenticator getCas2Authenticator()
-
-