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
Anonymous authenticator that redirect logout to CAS server authentication to connect to nuxeo.
- Author:
- Benjamin JALON
-
Field Summary
Fields inherited from class org.nuxeo.ecm.platform.ui.web.auth.plugins.AnonymousAuthenticator
anonymousLogin, BLOCK_ANONYMOUS_LOGIN_KEY, initialized
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionhandleLogout
(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 Details
-
casAuthenticator
-
-
Constructor Details
-
AnonymousAuthenticatorForCAS2
public AnonymousAuthenticatorForCAS2()
-
-
Method Details
-
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
-