public class SecurityInfoHelper extends Object
| Constructor and Description |
|---|
SecurityInfoHelper() |
| Modifier and Type | Method and Description |
|---|---|
protected static Group |
createGroup(String name,
Set<Principal> principals) |
protected static Principal |
getPrincipal(Subject subject)
Get the Principal given the authenticated Subject.
|
protected static Group[] |
getRoleSets(Collection<String> roleSet) |
static void |
propagateSessionInfo(KeycloakAccount account) |
public static void propagateSessionInfo(KeycloakAccount account)
protected static Principal getPrincipal(Subject subject)
Group is
considered or the single subject inside the CallerPrincipal group.subject - protected static Group[] getRoleSets(Collection<String> roleSet)
Copyright © 2014. All Rights Reserved.