public class TokenRealm<T extends TokenRealm<T>> extends Object
| Constructor and Description | 
|---|
TokenRealm(String key)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener 
 | 
String | 
getKey()  | 
Map | 
jwt()
A token validator to be used in conjunction with a token-based realm that
 handles security tokens based on the JWT/JWS standard. 
 | 
T | 
jwt(Map value)
A token validator to be used in conjunction with a token-based realm that
 handles security tokens based on the JWT/JWS standard. 
 | 
T | 
jwt(String key,
   Object value)
A token validator to be used in conjunction with a token-based realm that
 handles security tokens based on the JWT/JWS standard. 
 | 
Map | 
oauth2Introspection()
A token validator to be used in conjunction with a token-based realm that
 handles OAuth2 Access Tokens and validates them using an endpoint
 compliant with OAuth2 Token Introspection specification(RFC-7662). 
 | 
T | 
oauth2Introspection(Map value)
A token validator to be used in conjunction with a token-based realm that
 handles OAuth2 Access Tokens and validates them using an endpoint
 compliant with OAuth2 Token Introspection specification(RFC-7662). 
 | 
T | 
oauth2Introspection(String key,
                   Object value)
A token validator to be used in conjunction with a token-based realm that
 handles OAuth2 Access Tokens and validates them using an endpoint
 compliant with OAuth2 Token Introspection specification(RFC-7662). 
 | 
String | 
principalClaim()
The name of the claim that should be used to obtain the principal's name. 
 | 
T | 
principalClaim(String value)
The name of the claim that should be used to obtain the principal's name. 
 | 
void | 
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener 
 | 
public TokenRealm(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Map jwt()
public T jwt(Map value)
public T jwt(String key, Object value)
public Map oauth2Introspection()
public T oauth2Introspection(Map value)
public T oauth2Introspection(String key, Object value)
public String principalClaim()
Copyright © 2018 JBoss by Red Hat. All rights reserved.