Class GroupAdapterAuthorizationSource
- java.lang.Object
-
- org.uberfire.backend.server.security.adapter.GroupAdapterAuthorizationSource
-
- Direct Known Subclasses:
JAASAuthenticationService
public class GroupAdapterAuthorizationSource extends Object
-
-
Constructor Summary
Constructors Constructor Description GroupAdapterAuthorizationSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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, String user)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)
-
-
-
Method Detail
-
loadEntitiesFromSubjectAndAdapters
protected List<String> loadEntitiesFromSubjectAndAdapters(String username, Subject subject, String[] rolePrincipleNames)
-
collectEntitiesFromAdapters
protected List<String> collectEntitiesFromAdapters(String username, Subject subject)
-
collectEntitiesFromSubject
protected List<String> collectEntitiesFromSubject(String username, Subject subject, String[] rolePrincipleNames)
Collects the principals for a given subject.
-
getRoles
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.
-
-