Package net.shibboleth.idp.authn.impl
package net.shibboleth.idp.authn.impl
Implementation of various authentication actions.
-
ClassesClassDescriptionAn action that extracts a resolved
IdPAttribute
value from anAttributeContext
child obtained via lookup function (by default a child of theSubjectCanonicalizationContext
), and uses it as the result of subject canonicalization.Manager ofAuthenticationFlowDescriptor
objects.Handles serialization of results, delegating handling ofPrincipal
objects to one or morePrincipalSerializer
plugins.Action that implements a JSON REST API for theAccountLockoutManager
interface.Implementation of theExternalAuthentication
API that handles moving information in and out of request attributes.TODO.An action that extracts an asserted user identity from the incoming request, creates aUsernameContext
, and attaches it to theAuthenticationContext
.An action that extracts the user-agent's IP address from the incoming request, creates aUserAgentContext
, and attaches it to theAuthenticationContext
.An action that extracts the user-agent's identifier from the incoming request, creates aUserAgentContext
, and attaches it to theAuthenticationContext
./** An action that extracts a username and password from the HTTPHttpHeaders.AUTHORIZATION
header, creates aUsernamePasswordContext
, and attaches it to theAuthenticationContext
.An action that extracts a username and password from an HTTP form body or query string, creates aUsernamePasswordContext
, and attaches it to theAuthenticationContext
.An authentication stage that extracts a username/password from the WSS Username/Password attached to a SOAP message.An action that extracts an X.509 certificate from the standard servlet request attribute, creates aCertificateContext
, and attaches it to theAuthenticationContext
.An authentication action that filters out potential authentication flows if the request requires forced authentication or max age behavior and the flows don't support forced authentication.An authentication action that filters out potential authentication flows if the request requires non-browser support and the flows require a browser.An authentication action that runs after a completed authentication flow (or the reuse of an active result) and transfers information from other contexts into aSubjectContext
child of theProfileRequestContext
.An authentication action that completes MFA by producing a finalAuthenticationResult
out of whatever constituent parts and pieces exist, by means of an overridable function, storing it in theAuthenticationContext
and preparing a freshSubjectCanonicalizationContext
to operate on.Default merging strategy to combine individualAuthenticationResult
objects into a single result.A password validator that authenticates against Apache htpasswd files.An action that creates anRequestedPrincipalContext
and attaches it to the currentAuthenticationContext
, if the profile request context contains aRelyingPartyContext
with anAuthenticationProfileConfiguration
containing one or more default authentication methods.A password validator that authenticates against JAAS.A password validator that authenticates against Kerberos natively, with optional service ticket verification.Implementation ofCredentialConfig
that loads keystore and truststore data using aResource
.A password validator that authenticates against LDAP natively.An action that populates anAuthenticationContext
with theAuthenticationFlowDescriptor
objects configured into the IdP, potential flows filtered by flow IDs from a lookup function.An action that creates and populates aMultiFactorAuthenticationContext
with the set of transition rules to use for coordinating activity, the executingAuthenticationFlowDescriptor
and with any active "factors" found, if an active result from the MFA flow is present in theAuthenticationContext
.An action that populates aSubjectCanonicalizationContext
with theSubjectCanonicalizationFlowDescriptor
objects configured into the IdP.An action that extracts configured parameters from a servlet request and populatesAuthenticationContext.getAuthenticationStateMap()
with the data.An implementation of theloginConfigStrategy
forJAASCredentialValidator
which uses a supplied map to resolve the JAAS config to use.Extracts authentication information from the request and returns it via the IdP's external authentication interface.An authentication action that selects an authentication flow to invoke, or re-uses an existing result for SSO.A canonicalization action that selects a canonicalization flow to invoke.An action that operates on aSubjectCanonicalizationContext
child of the currentProfileRequestContext
, and transforms the inputSubject
into a principal name by searching for one and only oneUsernamePrincipal
custom principal.A predicate that determines if this action can run or not.Implementation ofAccountLockoutManager
interface that relies on aStorageService
to track lockout state.A function to generate a key for lockout storage.An authentication action that acts as the driver regulating execution of transitions between MFA stages.An action that processes a list ofCredentialValidator
objects to produce anAuthenticationResult
.A default cleanup hook that removes theUsernamePasswordContext
from the tree.An action that checks for anExternalAuthenticationContext
and directly produces anAuthenticationResult
or records error state based on the contents.An action that executes a deployer-supplied function and produces anAuthenticationResult
based on the function result.An action that checks for aUsernameContext
and directly produces anAuthenticationResult
based on that identity.An action that ensures that a user-agent address found within aUserAgentContext
is within a given range and generates anAuthenticationResult
.An action that operates on aSubjectCanonicalizationContext
child of the currentProfileRequestContext
, and transforms the inputSubject
into a principal name by searching for one and only oneX509Certificate
public credential, or in its absence one and only oneX500Principal
.A predicate that determines if this action can run or not.Servlet compatible with theExternalAuthentication
interface that extracts and validates an X.509 client certificate for user authentication.A credential validator that validates an X.509 certificate.Servlet filter to translate Apache mod_ssl certificate variables into Java servlet attributes.Implementation ofCredentialConfig
that loads trust and key material using aResource
.