public class FixedPrincipalExtractor extends java.lang.Object implements PrincipalExtractor
PrincipalExtractor
. Extracts the principal from the
map with well known keys.Constructor and Description |
---|
FixedPrincipalExtractor() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
extractPrincipal(java.util.Map<java.lang.String,java.lang.Object> map)
Extract the principal that should be used for the token.
|
public java.lang.Object extractPrincipal(java.util.Map<java.lang.String,java.lang.Object> map)
PrincipalExtractor
extractPrincipal
in interface PrincipalExtractor
map
- the source mapnull