Package org.alfresco.rest.core
Class RestAisAuthentication
- java.lang.Object
-
- org.alfresco.rest.core.RestAisAuthentication
-
@Service public class RestAisAuthentication extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSTEP_PREFIXstatic java.lang.StringUSER_DISABLED_MSG
-
Constructor Summary
Constructors Constructor Description RestAisAuthentication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAisAuthenticationToken(org.alfresco.utility.model.UserModel userModel)Get the AIS access token for the specified user model.java.lang.BooleanisAisAuthenticationEnabled()Check if the Alfresco Identity Service is enabled
-
-
-
Method Detail
-
getAisAuthenticationToken
public java.lang.String getAisAuthenticationToken(org.alfresco.utility.model.UserModel userModel)
Get the AIS access token for the specified user model.- Parameters:
userModel-- Returns:
-
isAisAuthenticationEnabled
public java.lang.Boolean 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)
-
-