public class ArtifactResolution extends AbstractSAML2ProfileHandler
修飾子とタイプ | クラスと説明 |
---|---|
class |
ArtifactResolution.ArtifactResolutionRequestContext
Represents the internal state of a SAML 2.0 Artifact resolver request while it's being processed by the IdP.
|
AbstractSAML2ProfileHandler.SAML2AuditLogEntry
SAML_VERSION
コンストラクタと説明 |
---|
ArtifactResolution(SAMLArtifactMap map)
Constructor.
|
修飾子とタイプ | メソッドと説明 |
---|---|
protected ArtifactResponse |
buildArtifactErrorResponse(ArtifactResolution.ArtifactResolutionRequestContext requestContext)
Constructs an artifact resolution response with an error status as content.
|
protected ArtifactResponse |
buildArtifactResponse(ArtifactResolution.ArtifactResolutionRequestContext requestContext)
Constructs a artifact resolution response with the derferenced SAML message inside.
|
protected void |
decodeRequest(ArtifactResolution.ArtifactResolutionRequestContext requestContext,
HTTPInTransport inTransport,
HTTPOutTransport outTransport)
Decodes an incoming request and populates a created request context with the resultant information.
|
String |
getProfileId()
Gets the ID of the profile supported by this handler.
|
protected void |
populateAssertingPartyInformation(BaseSAMLProfileRequestContext requestContext)
Populates the request context with information about the asserting party.
|
protected void |
populateRelyingPartyInformation(BaseSAMLProfileRequestContext requestContext)
Populates the request context with information about the relying party.
|
protected void |
populateSAMLMessageInformation(BaseSAMLProfileRequestContext requestContext)
Populates the request context with information from the inbound SAML message.
|
void |
processRequest(HTTPInTransport inTransport,
HTTPOutTransport outTransport)
Processes an incoming request.
|
protected Endpoint |
selectEndpoint(BaseSAMLProfileRequestContext requestContext)
Selects the appropriate endpoint for the relying party and stores it in the request context.
|
buildAssertion, buildAttributeStatement, buildConditions, buildEntityIssuer, buildErrorResponse, buildNameId, buildResponse, buildStatus, buildSubject, buildSubjectConfirmation, checkSamlVersion, getEncrypter, getKeyEncryptionCredential, getSessionIndexFromNameID, isEncryptAssertion, isEncryptNameID, isRequestRequiresEncryptNameID, isSignAssertion, populateRequestContext, populateStatusResponse, populateUserInformation, postProcessAssertion, postProcessResponse, resolveAttributes, resolvePrincipal, signAssertion, writeAuditLogEntry
encodeResponse, filterNameIDAttributesByFormats, filterNameIDAttributesByProtocol, getAduitLog, getAuditLog, getEntitySupportedFormats, getIdGenerator, getInboundBinding, getInboundMessageDecoder, getMessageDecoders, getMessageEncoders, getMetadataCredentialResolver, getMetadataProvider, getOutboundMessageEncoder, getRelyingPartyConfiguration, getRequiredNameIDFormat, getSecurityPolicyResolver, getSupportedNameFormats, getSupportedOutboundBindings, getUserSession, getUserSession, isSignResponse, populateProfileInformation, selectNameIDAttributeAndEncoder, selectNameIDAttributeAndEncoder, setIdGenerator, setInboundBinding, setMessageDecoders, setMessageEncoders, setSecurityPolicyResolver, setSupportedOutboundBindings
getBuilderFactory, getParserPool, getProfileConfiguration, getRelyingPartyConfigurationManager, getSessionManager, getStorageService, setParserPool, setRelyingPartyConfigurationManager, setSessionManager, setStorageService
getRequestPaths, setRequestPaths
public ArtifactResolution(SAMLArtifactMap map)
map
- ArtifactMap used to lookup artifacts to be resolved.public String getProfileId()
getProfileId
クラス内 AbstractShibbolethProfileHandler<SAMLMDRelyingPartyConfigurationManager,Session>
public void processRequest(HTTPInTransport inTransport, HTTPOutTransport outTransport) throws ProfileException
inTransport
- the incoming request transportoutTransport
- the outgoing response transportProfileException
- throw if there was a problem while processing the requestprotected void decodeRequest(ArtifactResolution.ArtifactResolutionRequestContext requestContext, HTTPInTransport inTransport, HTTPOutTransport outTransport) throws ProfileException
inTransport
- inbound message transportoutTransport
- outbound message transportrequestContext
- request context to which decoded information should be addedProfileException
- throw if there is a problem decoding the requestprotected void populateRelyingPartyInformation(BaseSAMLProfileRequestContext requestContext) throws ProfileException
populateRelyingPartyInformation
クラス内 AbstractSAMLProfileHandler
requestContext
- current request contextProfileException
- thrown if there is a problem looking up the relying party's metadataprotected void populateAssertingPartyInformation(BaseSAMLProfileRequestContext requestContext) throws ProfileException
AbstractSAMLProfileHandler.populateRequestContext(BaseSAMLProfileRequestContext)
has already invoked
AbstractSAMLProfileHandler.populateRelyingPartyInformation(BaseSAMLProfileRequestContext)
has already been invoked and the
properties it provides are available in the request context.
This method requires the the following request context properties to be populated: metadata provider, relying
party configuration
This methods populates the following request context properties: local entity ID, outbound message issuer, local
entity metadatapopulateAssertingPartyInformation
クラス内 AbstractSAMLProfileHandler
requestContext
- current request contextProfileException
- thrown if there is a problem looking up the asserting party's metadataprotected void populateSAMLMessageInformation(BaseSAMLProfileRequestContext requestContext) throws ProfileException
populateSAMLMessageInformation
クラス内 AbstractSAMLProfileHandler
requestContext
- current request contextProfileException
- thrown if the inbound SAML message or subject identifier is nullprotected Endpoint selectEndpoint(BaseSAMLProfileRequestContext requestContext)
selectEndpoint
クラス内 AbstractSAMLProfileHandler
requestContext
- current request contextprotected ArtifactResponse buildArtifactResponse(ArtifactResolution.ArtifactResolutionRequestContext requestContext)
requestContext
- current request contextprotected ArtifactResponse buildArtifactErrorResponse(ArtifactResolution.ArtifactResolutionRequestContext requestContext)
requestContext
- current request contextCopyright © 2012. All Rights Reserved.