public class ExternalAuthenticationImpl extends ExternalAuthentication
ExternalAuthentication API that handles moving information in and out
of request attributes.| Modifier and Type | Field and Description |
|---|---|
private boolean |
extendedFlow
Track whether we were invoked from within another login flow.
|
private org.slf4j.Logger |
log
Class logger.
|
private ProfileRequestContext |
profileRequestContext
State of request to pull from.
|
private com.google.common.base.Function<ProfileRequestContext,RelyingPartyContext> |
relyingPartyContextLookupStrategy
Lookup function for relying party context.
|
AUTHENTICATING_AUTHORITIES_KEY, AUTHENTICATION_ERROR_KEY, AUTHENTICATION_EXCEPTION_KEY, AUTHENTICATION_INSTANT_KEY, AUTHN_METHOD_PARAM, CONVERSATION_KEY, DONOTCACHE_KEY, EXTENDED_FLOW_PARAM, FORCE_AUTHN_PARAM, PASSIVE_AUTHN_PARAM, PREVIOUSRESULT_KEY, PRINCIPAL_KEY, PRINCIPAL_NAME_KEY, RELYING_PARTY_PARAM, REVOKECONSENT_KEY, SUBJECT_KEY| Constructor and Description |
|---|
ExternalAuthenticationImpl(ProfileRequestContext input)
Constructor.
|
ExternalAuthenticationImpl(ProfileRequestContext input,
boolean extended)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doFinish(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doStart(javax.servlet.http.HttpServletRequest request) |
protected ProfileRequestContext |
getProfileRequestContext(javax.servlet.http.HttpServletRequest request) |
void |
setRelyingPartyContextLookupStrategy(com.google.common.base.Function<ProfileRequestContext,RelyingPartyContext> strategy)
Set lookup strategy for relying party context.
|
finishExternalAuthentication, getExternalRedirect, getProfileRequestContext, startExternalAuthentication@Nonnull private final org.slf4j.Logger log
@Nonnull private com.google.common.base.Function<ProfileRequestContext,RelyingPartyContext> relyingPartyContextLookupStrategy
@Nonnull private final ProfileRequestContext profileRequestContext
private final boolean extendedFlow
public ExternalAuthenticationImpl(@Nonnull ProfileRequestContext input)
input - profile request context to exposepublic ExternalAuthenticationImpl(@Nonnull ProfileRequestContext input, boolean extended)
input - profile request context to exposeextended - called as extended flow from another login flowpublic void setRelyingPartyContextLookupStrategy(@Nonnull com.google.common.base.Function<ProfileRequestContext,RelyingPartyContext> strategy)
strategy - lookup strategyprotected void doStart(@Nonnull javax.servlet.http.HttpServletRequest request) throws ExternalAuthenticationException
doStart in class ExternalAuthenticationExternalAuthenticationExceptionprotected void doFinish(@Nonnull javax.servlet.http.HttpServletRequest request, @Nonnull javax.servlet.http.HttpServletResponse response) throws ExternalAuthenticationException, IOException
doFinish in class ExternalAuthenticationExternalAuthenticationExceptionIOExceptionprotected ProfileRequestContext getProfileRequestContext(@Nonnull javax.servlet.http.HttpServletRequest request) throws ExternalAuthenticationException
getProfileRequestContext in class ExternalAuthenticationExternalAuthenticationExceptionCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.