public class GroupAdapterAuthorizationSource extends Object
Constructor and Description |
---|
GroupAdapterAuthorizationSource() |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
collectEntitiesFromAdapters(String username,
Subject subject) |
protected List<String> |
collectEntitiesFromSubject(String username,
Subject subject,
String[] rolePrincipleNames)
Collects the principals for a given subject.
|
protected List<org.jboss.errai.security.shared.api.Group> |
getGroups(List<String> principals)
For a given collection of principal names, return the Role instances for the ones
that are considered roles, so the ones that exist on the RoleRegistry.
|
protected List<org.jboss.errai.security.shared.api.Role> |
getRoles(List<String> principals)
For a given collection of principal names, return the Role instances for the ones
that are considered roles, so the ones that exist on the RoleRegistry.
|
protected List<String> |
loadEntitiesFromSubjectAndAdapters(String username,
Subject subject,
String[] rolePrincipleNames) |
protected List<String> loadEntitiesFromSubjectAndAdapters(String username, Subject subject, String[] rolePrincipleNames)
protected List<String> collectEntitiesFromAdapters(String username, Subject subject)
protected List<String> collectEntitiesFromSubject(String username, Subject subject, String[] rolePrincipleNames)
protected List<org.jboss.errai.security.shared.api.Role> getRoles(List<String> principals)
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.