public class ActivitiAuthenticator extends AbstractAuthenticator
Used to connect to
https://activiti.alfresco.com/activiti-app/appendpoint.
This connector will post a URL encoded form with the login credentials to:
https://activiti.alfresco.com/activiti-app/app/authenticationcontent type: application/x-www-form-urlencoded
Response should be a 200 OK with no body content and ACTIVITI_REMEMBER_ME Cookie header set.
| Constructor and Description |
|---|
ActivitiAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
ConnectorSession |
authenticate(String endpoint,
Credentials credentials,
ConnectorSession connectorSession)
Authenticate against the given Endpoint URL with the supplied Credentials
|
boolean |
isAuthenticated(String endpoint,
ConnectorSession connectorSession)
Returns whether the current connector session has been authenticated or not
|
buildRemoteClient, getConnectorService, processResponse, setApplicationContextpublic ConnectorSession authenticate(String endpoint, Credentials credentials, ConnectorSession connectorSession) throws AuthenticationException
AuthenticatorAuthenticationException - on errorpublic boolean isAuthenticated(String endpoint, ConnectorSession connectorSession)
Authenticatorendpoint - StringconnectorSession - ConnectorSessionCopyright © 2005–2018 Alfresco Software. All rights reserved.