public class PrincipalExtractor extends Object
Constructor and Description |
---|
PrincipalExtractor() |
PrincipalExtractor(String usernameClaim,
String fallbackUsernameClaim,
String fallbackUsernamePrefix) |
Modifier and Type | Method and Description |
---|---|
String |
getPrincipal(org.keycloak.representations.AccessToken token,
org.keycloak.jose.jws.JWSInput jws) |
String |
getPrincipal(com.fasterxml.jackson.databind.JsonNode json) |
String |
getSub(org.keycloak.representations.AccessToken token) |
String |
getSub(com.fasterxml.jackson.databind.JsonNode json) |
boolean |
isConfigured() |
String |
toString() |
public String getPrincipal(org.keycloak.representations.AccessToken token, org.keycloak.jose.jws.JWSInput jws)
public String getPrincipal(com.fasterxml.jackson.databind.JsonNode json)
public String getSub(org.keycloak.representations.AccessToken token)
public String getSub(com.fasterxml.jackson.databind.JsonNode json)
public boolean isConfigured()
Copyright © 2022. All rights reserved.