Class AbstractClientTokenAuthProvider

java.lang.Object
com.emc.documentum.rest.security.provider.AbstractAuthProvider
com.emc.documentum.rest.security.provider.AbstractClientTokenAuthProvider

public abstract class AbstractClientTokenAuthProvider extends AbstractAuthProvider
This abstract provider additionally provides client token utility.
  • Field Details

    • clientTokenSupport

      protected boolean clientTokenSupport
  • Constructor Details

    • AbstractClientTokenAuthProvider

      public AbstractClientTokenAuthProvider()
  • Method Details

    • setClientTokenSupport

      public void setClientTokenSupport(boolean clientTokenSupport)
      Set whether to support client token.
      Parameters:
      clientTokenSupport - true indicates to support client token; false for otherwise.
    • produceRestTicketToken

      protected ClientTokenAuthToken produceRestTicketToken(org.springframework.security.authentication.AbstractAuthenticationToken token, boolean reuseLoginTicketPreferred, com.documentum.fc.client.IDfSession session) throws com.documentum.fc.common.DfException
      Produce a client token authentication token. The authentication filter later can use this token to generate a cookie.
      Parameters:
      token - original authentication token
      reuseLoginTicketPreferred - indicate whether to reuse existing login ticket from the original authentication token to generate a client token authentication token
      session - DFC session
      Returns:
      the client token authentication token
      Throws:
      com.documentum.fc.common.DfException - when it fails to validate or generate the token.