public class OidcExtractor extends InitializableWebObject implements CredentialsExtractor<OidcCredentials>
Constructor and Description |
---|
OidcExtractor() |
OidcExtractor(OidcConfiguration configuration,
String clientName) |
Modifier and Type | Method and Description |
---|---|
OidcCredentials |
extract(WebContext context)
Extract the right credentials.
|
protected void |
internalInit(WebContext context)
Internal initialization of the object.
|
protected Map<String,String> |
retrieveParameters(WebContext context) |
String |
toString() |
init, reinit
public OidcExtractor()
public OidcExtractor(OidcConfiguration configuration, String clientName)
protected void internalInit(WebContext context)
InitializableWebObject
internalInit
in class InitializableWebObject
context
- the web contextpublic OidcCredentials extract(WebContext context) throws HttpAction
CredentialsExtractor
CredentialsException
in case of failure.extract
in interface CredentialsExtractor<OidcCredentials>
context
- the current web contextHttpAction
- requires a specific HTTP action if necessaryprotected Map<String,String> retrieveParameters(WebContext context)
Copyright © 2018. All rights reserved.