Class DataAIS

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean

    @Service
    @Scope("prototype")
    public class DataAIS
    extends java.lang.Object
    implements org.springframework.beans.factory.InitializingBean
    DataAIS provides access to Alfresco Identity Service users resource. Check that isEnabled() is true before calling to perform(). The AIS support is enabled by setting identity-service.auth-server-url property and can be further configured by setting properties defined in TasAisProperties.
    • Constructor Detail

      • DataAIS

        public DataAIS()
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws java.lang.Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        java.lang.Exception
      • isEnabled

        public boolean isEnabled()
      • setUsersResource

        public void setUsersResource​(org.keycloak.admin.client.resource.UsersResource usersResource)
      • setAuthzClient

        public void setAuthzClient​(org.keycloak.authorization.client.AuthzClient authzClient)
      • setAisProperties

        public void setAisProperties​(TasAisProperties aisProperties)