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 Details

  • 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 interface NuxeoAuthenticationPluginLogoutExtension
      Overrides:
      handleLogout in class AnonymousAuthenticator
      Returns:
      true if caller must stop execution (ie: logout generated a redirect), false otherwise
    • getCas2Authenticator

      public Cas2Authenticator getCas2Authenticator()