Class RestAisAuthentication


  • @Service
    public class RestAisAuthentication
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAisAuthenticationToken​(org.alfresco.utility.model.UserModel userModel)
      Get the AIS access token for the specified user model.
      java.lang.Boolean isAisAuthenticationEnabled()
      Check if the Alfresco Identity Service is enabled
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • STEP_PREFIX

        public static java.lang.String STEP_PREFIX
      • USER_DISABLED_MSG

        public static java.lang.String USER_DISABLED_MSG
    • Constructor Detail

      • RestAisAuthentication

        public RestAisAuthentication()
    • 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)