| Package | Description |
|---|---|
| net.shibboleth.idp.authn |
APIs related to the authentication of a subject.
|
| net.shibboleth.idp.authn.context |
Context classes for managing authentication-related state.
|
| net.shibboleth.idp.authn.context.navigate |
Functions for traversing authentication contexts.
|
| net.shibboleth.idp.authn.principal |
Classes supporting Java
Principal usage. |
| Modifier and Type | Field and Description |
|---|---|
private AuthenticationContext |
AbstractAuthenticationAction.authnContext
AuthenticationContext to operate on.
|
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.base.Function<ProfileRequestContext,AuthenticationContext> |
AbstractAuthenticationAction.authnCtxLookupStrategy
Strategy used to extract, and create if necessary, the
AuthenticationContext from the
ProfileRequestContext. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractValidationAction.buildAuthenticationResult(ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext,
AuthenticationContext authenticationContext)
Normally called upon successful completion of credential validation, calls the
AbstractValidationAction.populateSubject(Subject)
abstract method, stores an AuthenticationResult in the AuthenticationContext, and attaches a
SubjectCanonicalizationContext to the ProfileRequestContext in preparation for c14n to occur. |
protected void |
AbstractAuthenticationAction.doExecute(ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext,
AuthenticationContext authenticationContext)
Performs this authentication action.
|
protected boolean |
AbstractValidationAction.doPreExecute(ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext,
AuthenticationContext authenticationContext)
Performs this authentication action's pre-execute step.
|
protected boolean |
AbstractAuthenticationAction.doPreExecute(ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext,
AuthenticationContext authenticationContext)
Performs this authentication action's pre-execute step.
|
protected boolean |
AbstractUsernamePasswordValidationAction.doPreExecute(ProfileRequestContext profileRequestContext,
AuthenticationContext authenticationContext)
Performs this authentication action's pre-execute step.
|
protected void |
AbstractValidationAction.handleError(ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext,
AuthenticationContext authenticationContext,
Exception e,
String eventId)
Adds an exception encountered during the action to an
AuthenticationErrorContext, creating one if
necessary, beneath the AuthenticationContext. |
protected void |
AbstractValidationAction.handleError(ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext,
AuthenticationContext authenticationContext,
String message,
String eventId)
Evaluates a message as a potential match as a "classified" error and if matched, the classification
label is attached to an
AuthenticationErrorContext and used as the resulting event for the action. |
protected void |
AbstractValidationAction.handleWarning(ProfileRequestContext<InboundMessageType,OutboundMessageType> profileRequestContext,
AuthenticationContext authenticationContext,
String message,
String eventId)
Evaluates a message as a potential match as a "classified" warning and if matched, the classification
label is attached to an
AuthenticationWarningContext and used as the resulting event for the action. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractAuthenticationAction.setLookupStrategy(com.google.common.base.Function<ProfileRequestContext,AuthenticationContext> strategy)
Set the context lookup strategy.
|
| Modifier and Type | Method and Description |
|---|---|
AuthenticationContext |
AuthenticationContext.setActiveResults(Iterable<AuthenticationResult> results)
Set the authentication results currently active for the subject.
|
AuthenticationContext |
AuthenticationContext.setAttemptedFlow(AuthenticationFlowDescriptor flow)
Set the authentication flow that was attempted in order to authenticate the user.
|
AuthenticationContext |
AuthenticationContext.setAuthenticationResult(AuthenticationResult result)
Set the authentication result produced by the attempted flow, or reused for SSO.
|
AuthenticationContext |
AuthenticationContext.setCompletionInstant()
Set the completion time of the authentication attempt to the current time.
|
AuthenticationContext |
AuthenticationContext.setFixedEventLookupStrategy(com.google.common.base.Function<ProfileRequestContext,String> strategy)
Set optional lookup strategy to return a fixed event to return from credential validation
to exercise error and warning logic.
|
AuthenticationContext |
AuthenticationContext.setForceAuthn(boolean force)
Set whether to require fresh subject interaction to succeed.
|
AuthenticationContext |
AuthenticationContext.setHintedName(String hint)
Set a non-normative hint provided by the request about the user's identity.
|
AuthenticationContext |
AuthenticationContext.setInitialAuthenticationResult(AuthenticationResult result)
Set the "initial" authentication result produced during this request's initial-authn phase.
|
AuthenticationContext |
AuthenticationContext.setIsPassive(boolean passive)
Set whether subject interaction is allowed.
|
AuthenticationContext |
AuthenticationContext.setMaxAge(long age)
Set duration in milliseconds since an
AuthenticationResult was created that
allows it to be reused for this request. |
AuthenticationContext |
AuthenticationContext.setPrincipalEvalPredicateFactoryRegistry(PrincipalEvalPredicateFactoryRegistry registry)
Set the registry of predicate factories for custom principal evaluation to inject into instances of
RequestedPrincipalContext created via the addRequestedPrincipalContext(String, List, boolean)
helper method. |
AuthenticationContext |
AuthenticationContext.setSignaledFlowId(String id)
Set the flow ID signaled as the next selection.
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
PreviousResultLookupFunction.apply(AuthenticationContext input) |
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.base.Function<ProfileRequestContext,AuthenticationContext> |
DefaultPrincipalDeterminationStrategy.authnContextLookupStrategy
Authentication context lookup strategy.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultPrincipalDeterminationStrategy.setAuthenticationContextLookupStrategy(com.google.common.base.Function<ProfileRequestContext,AuthenticationContext> strategy)
Set lookup strategy for
AuthenticationContext. |
Copyright © 1999–2018 Shibboleth Consortium. All rights reserved.