public abstract class ArtifactResolutionProfileBase extends AbstractProfileBase implements ArtifactResolutionProfile
artifactMap, builderFactory, log, metadata, processor, uriComparator| Constructor and Description |
|---|
ArtifactResolutionProfileBase() |
| Modifier and Type | Method and Description |
|---|---|
protected org.opensaml.saml2.core.ArtifactResolve |
createArtifactResolve(SAMLMessageContext context,
String artifactId,
org.opensaml.saml2.metadata.Endpoint endpoint) |
protected abstract void |
getArtifactResponse(String endpointURI,
SAMLMessageContext context)
Method is expected to send ArtifactRequest to the artifactResolution service and store the ArtifactResponse.
|
String |
getProfileIdentifier()
Implementation are expected to provide an unique identifier for the profile this class implements.
|
org.opensaml.common.SAMLObject |
resolveArtifact(SAMLMessageContext context,
String artifactId,
String endpointURI)
Creates ArtifactResolve message based in the artifactId, locates ArtifactResolutionService, populates SAMLContext
and performs artifact retrieval.
|
afterPropertiesSet, buildCommonAttributes, generateID, getEndpointBinding, getIssuer, getMaxAssertionTime, getResponseSkew, getStatus, isEndpointMatching, sendMessage, sendMessage, setArtifactMap, setMaxAssertionTime, setMetadata, setProcessor, setResponseSkew, verifyEndpoint, verifyIssuer, verifySignaturepublic String getProfileIdentifier()
AbstractProfileBasegetProfileIdentifier in class AbstractProfileBasepublic org.opensaml.common.SAMLObject resolveArtifact(SAMLMessageContext context, String artifactId, String endpointURI) throws org.opensaml.ws.message.decoder.MessageDecodingException
resolveArtifact in interface ArtifactResolutionProfilecontext - context containing information about local SP/IDP entityartifactId - artifact to resolveendpointURI - URI of the endpoint the message was sent toorg.opensaml.ws.message.decoder.MessageDecodingException - error decoding the artifactprotected abstract void getArtifactResponse(String endpointURI, SAMLMessageContext context) throws org.opensaml.common.SAMLException, org.opensaml.ws.message.encoder.MessageEncodingException, org.opensaml.ws.message.decoder.MessageDecodingException, org.opensaml.saml2.metadata.provider.MetadataProviderException, org.opensaml.xml.security.SecurityException
endpointURI - URI incoming artifactMessage is addressed tocontext - context with filled communicationProfileId, outboundMessage, outboundSAMLMessage, peerEntityEndpoint, peerEntityId, peerEntityMetadata, peerEntityRole, peerEntityRoleMetadataorg.opensaml.common.SAMLException - error processing artifact messagesorg.opensaml.ws.message.encoder.MessageEncodingException - error sending artifactRequestorg.opensaml.ws.message.decoder.MessageDecodingException - error retrieveing articatResponseorg.opensaml.saml2.metadata.provider.MetadataProviderException - error resolving metadataorg.opensaml.xml.security.SecurityException - invalid message signatureprotected org.opensaml.saml2.core.ArtifactResolve createArtifactResolve(SAMLMessageContext context, String artifactId, org.opensaml.saml2.metadata.Endpoint endpoint)