public class AdapterUtils extends Object
Constructor and Description |
---|
AdapterUtils() |
Modifier and Type | Method and Description |
---|---|
static KeycloakPrincipal<RefreshableKeycloakSecurityContext> |
createPrincipal(KeycloakDeployment deployment,
RefreshableKeycloakSecurityContext securityContext) |
static String |
generateId() |
static String |
getPrincipalName(KeycloakDeployment deployment,
AccessToken token) |
static Set<String> |
getRolesFromSecurityContext(RefreshableKeycloakSecurityContext session) |
public static String generateId()
public static Set<String> getRolesFromSecurityContext(RefreshableKeycloakSecurityContext session)
public static String getPrincipalName(KeycloakDeployment deployment, AccessToken token)
public static KeycloakPrincipal<RefreshableKeycloakSecurityContext> createPrincipal(KeycloakDeployment deployment, RefreshableKeycloakSecurityContext securityContext)
Copyright © 2016 JBoss by Red Hat. All rights reserved.