Class ActivitiAuthenticator

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, Authenticator

    public class ActivitiAuthenticator
    extends AbstractAuthenticator
    Activiti API endpoint authenticator.

    Used to connect to

    https://activiti.alfresco.com/activiti-app/app
    endpoint.

    This connector will post a URL encoded form with the login credentials to:

    https://activiti.alfresco.com/activiti-app/app/authentication
    content type: application/x-www-form-urlencoded

    Response should be a 200 OK with no body content and ACTIVITI_REMEMBER_ME Cookie header set.

    Author:
    Kevin Roast
    • Constructor Detail

      • ActivitiAuthenticator

        public ActivitiAuthenticator()
    • Method Detail

      • isAuthenticated

        public boolean isAuthenticated​(java.lang.String endpoint,
                                       ConnectorSession connectorSession)
        Description copied from interface: Authenticator
        Returns whether the current connector session has been authenticated or not
        Parameters:
        endpoint - String
        connectorSession - ConnectorSession
        Returns:
        boolean