Class ElytronUserGroupAdapter

  • All Implemented Interfaces:
    org.jbpm.services.task.identity.adapter.UserGroupAdapter

    public class ElytronUserGroupAdapter
    extends Object
    implements org.jbpm.services.task.identity.adapter.UserGroupAdapter
    • Constructor Detail

      • ElytronUserGroupAdapter

        public ElytronUserGroupAdapter()
    • Method Detail

      • getGroupsForUser

        public List<String> getGroupsForUser​(String userId)
        Specified by:
        getGroupsForUser in interface org.jbpm.services.task.identity.adapter.UserGroupAdapter
      • toRunAsPrincipalRoles

        public List<String> toRunAsPrincipalRoles​(String userId,
                                                  boolean authenticate)
      • getUserName

        public String getUserName()
      • toRoles

        public List<String> toRoles​(org.wildfly.security.auth.server.SecurityIdentity securityIdentity)
      • runAsPrincipalExists

        public boolean runAsPrincipalExists​(String runAsPrincipal)
                                     throws org.wildfly.security.auth.server.RealmUnavailableException
        Throws:
        org.wildfly.security.auth.server.RealmUnavailableException
      • getCurrentSecurityIdentity

        public Optional<org.wildfly.security.auth.server.SecurityIdentity> getCurrentSecurityIdentity()