public interface Extractor<C extends Credentials>
Credentials
from a WebContext
and should return null
if no credentials are present
or should throw a CredentialsException
if it cannot get it.Modifier and Type | Method and Description |
---|---|
C |
extract(WebContext context)
Extract the right credentials.
|
C extract(WebContext context)
CredentialsException
in case of failure.context
- the current web contextCopyright © 2016. All rights reserved.