public class HeaderExtractor extends Object implements Extractor<TokenCredentials>
| Constructor and Description |
|---|
HeaderExtractor(String headerName,
String prefixHeader,
String clientName) |
| Modifier and Type | Method and Description |
|---|---|
TokenCredentials |
extract(WebContext context)
Extract the right credentials.
|
public TokenCredentials extract(WebContext context)
ExtractorCredentialsException in case of failure.extract in interface Extractor<TokenCredentials>context - the current web contextCopyright © 2016. All Rights Reserved.