# Package org.opensaml.saml.saml2.profile.impl

@NonnullElements package org.opensaml.saml.saml2.profile.impl
Implementations of SAML 2.0 profile behavior.

Related Packages
Package
Description
org.opensaml.saml.saml2.profile
Classes for SAML 2.0 profile behavior.
org.opensaml.saml.saml2.profile.context
Context classes supporting SAML 2 profiles.
Classes
Class
Description
AbstractDecryptAction
Abstract base class for actions that perform SAML decryption.
AbstractEncryptAction
Abstract base class for actions that perform simple unicast SAML encryption to a single decrypting party.
AbstractResponseShellAction<MessageType extends StatusResponseType>
Abstract action that creates an empty object derived from `StatusResponseType`, and sets it as the message returned by `InOutOperationContext.getOutboundMessageContext()`.
AddChannelBindingsToAssertions
Action to add `ChannelBindings` extension(s) to every `Assertion` in a `Response` message.
AddGeneratedKeyToAssertions
Action to add a `GeneratedKey` extension to every `Assertion` in a `Response` message.
AddNameIDToSubjects
Action that builds a `NameID` and adds it to the `Subject` of all the assertions found in a `Response`.
AddNameIDToSubjects.NameIDPolicyLookupFunction
Lookup function that returns the `NameIDPolicy` from an `AuthnRequest` message returned from a lookup function, by default the inbound message.
AddNameIDToSubjects.RequesterIdFromIssuerFunction
Lookup function that returns `RequestAbstractType.getIssuer()` from a request message returned from a lookup function, by default the inbound message.
AddOneTimeUseConditionToAssertions
Action to add a `OneTimeUse` condition to every `Assertion` in a `Response` message.
AddProxyRestrictionToAssertions
Action adds an `ProxyRestriction` to every `Assertion` contained in a SAML 2 response, with the audiences and count obtained from a lookup function.
AddStatusResponseShell
Action that creates an empty object derived from `StatusResponseType`, and sets it as the message returned by `InOutOperationContext.getOutboundMessageContext()`.
AddStatusToResponse
Action that sets `Status` content in a `StatusResponseType` obtained from a lookup strategy, typically from the outbound message context.
AddStatusToResponse.StatusCodeMappingFunction
A default method to map event IDs to SAML 2 StatusCode URIs based on `EventContext`.
AddSubjectConfirmationToSubjects
Action that builds `SubjectConfirmation` and adds it to the `Subject` of all the assertions found in a `Response`.
ChainingSAML2NameIDGenerator
Subclass incorporating SAML 2 interface.
CopyNameIDFromRequest
Action that builds a `NameID` and adds it to the `Subject` of all the statements in all the assertions found in a `Response`.
DecryptAssertions
Action to decrypt an `EncryptedAssertion` element and replace it with the decrypted `Assertion` in situ.
DecryptAttributes
Action to decrypt an `EncryptedAttribute` element and replace it with the decrypted `Attribute` in situ.
DecryptNameIDs
Action to decrypt an `EncryptedID` element and replace it with the decrypted `NameID` in situ.
DefaultAssertionValidationContextBuilder
Deprecated.
use `DefaultAssertionValidationContextBuilder`.
DefaultAssertionValidationContextBuilder.DefaultValidInResponseToLookupFunction
Default strategy for resolving the valid InResponseTo value.
DefaultAssertionValidationContextBuilder.DefaultValidIssuersLookupFunction
Default strategy for resolving the valid Issuers.
EncryptAssertions
Action that encrypts all assertions in a `Response` message obtained from a lookup strategy, by default the outbound message context.
EncryptAttributes
Action that encrypts all attributes in a `Response` message obtained from a lookup strategy, by default the outbound message context.
EncryptNameIDs
Action that encrypts all `NameID`s in a message obtained from a lookup strategy, by default the outbound message context.
PopulateECPContext
Action to create and populate an `ECPContext` based on the request and, when encryption is in use, generating a session key.
ResolveArtifact
Action that resolves a SAML 2.0 artifact inside an `ArtifactResolve` request located via a lookup strategy, by default from the inbound message context, and maps it to the corresponding message.
ValidateAssertions
A profile action which resolves SAML 2.0 Assertions from the profile request context and validates them using a resolved or configured instance of `SAML20AssertionValidator`.
ValidateAssertions.AssertionValidationInput
Deprecated.
Use `AssertionValidationInput`.