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