public class KerberosExtractor extends Object implements CredentialsExtractor<KerberosCredentials>
Constructor and Description |
---|
KerberosExtractor(String clientName) |
Modifier and Type | Method and Description |
---|---|
KerberosCredentials |
extract(WebContext context)
Extract the right credentials.
|
public KerberosExtractor(String clientName)
public KerberosCredentials extract(WebContext context) throws CredentialsException, HttpAction
CredentialsExtractor
CredentialsException
in case of failure.extract
in interface CredentialsExtractor<KerberosCredentials>
context
- the current web contextCredentialsException
- the credentials are invalidHttpAction
- requires a specific HTTP action if necessaryCopyright © 2017. All rights reserved.