Class UserAuthentication

  • All Implemented Interfaces:
    java.io.Serializable, java.security.Principal

    public class UserAuthentication
    extends Authentication

    An authentication for a user

    Author:
    Daniel Meyer, nico.rehwaldt
    See Also:
    Serialized Form
    • Field Detail

      • groupIds

        protected java.util.List<java.lang.String> groupIds
      • tenantIds

        protected java.util.List<java.lang.String> tenantIds
      • authorizedApps

        protected java.util.Set<java.lang.String> authorizedApps
      • cacheValidationTime

        protected java.util.Date cacheValidationTime
    • Constructor Detail

      • UserAuthentication

        public UserAuthentication​(java.lang.String userId,
                                  java.lang.String processEngineName)
    • Method Detail

      • getGroupIds

        public java.util.List<java.lang.String> getGroupIds()
      • isAuthorizedForApp

        public boolean isAuthorizedForApp​(java.lang.String app)
      • getAuthorizedApps

        public java.util.Set<java.lang.String> getAuthorizedApps()
      • getTenantIds

        public java.util.List<java.lang.String> getTenantIds()
      • setTenantIds

        public void setTenantIds​(java.util.List<java.lang.String> tenantIds)
      • setGroupIds

        public void setGroupIds​(java.util.List<java.lang.String> groupIds)
      • setAuthorizedApps

        public void setAuthorizedApps​(java.util.Set<java.lang.String> authorizedApps)
      • getCacheValidationTime

        public java.util.Date getCacheValidationTime()
      • setCacheValidationTime

        public void setCacheValidationTime​(java.util.Date cacheValidationTime)