Package org.alfresco.rest.core
Class RestAisAuthentication
java.lang.Object
org.alfresco.rest.core.RestAisAuthentication
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAisAuthenticationToken(org.alfresco.utility.model.UserModel userModel) Get the AIS access token for the specified user model.Check if the Alfresco Identity Service is enabled
-
Field Details
-
STEP_PREFIX
-
USER_DISABLED_MSG
-
-
Constructor Details
-
RestAisAuthentication
public RestAisAuthentication()
-
-
Method Details
-
getAisAuthenticationToken
Get the AIS access token for the specified user model.- Parameters:
userModel-- Returns:
-
isAisAuthenticationEnabled
Check if the Alfresco Identity Service is enabled- Returns:
- True if Alfresco Identity Service is enabled (the identity service URL is not null or empty)
-