public class FixedPrincipalExtractor extends Object implements PrincipalExtractor
PrincipalExtractor
. Extracts the principal from the
map with well known keys.Constructor and Description |
---|
FixedPrincipalExtractor() |
Modifier and Type | Method and Description |
---|---|
Object |
extractPrincipal(Map<String,Object> map)
Extract the principal that should be used for the token.
|
public Object extractPrincipal(Map<String,Object> map)
PrincipalExtractor
extractPrincipal
in interface PrincipalExtractor
map
- the source mapnull
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.