InboundMessageType - the inbound message typeOutboundMessageType - the outbound message typepublic class SAMLSOAPClientContextBuilder<InboundMessageType extends SAMLObject,OutboundMessageType extends SAMLObject> extends Object
InOutOperationContext instances for SAML SOAP client use cases.| Modifier and Type | Class and Description |
|---|---|
static class |
SAMLSOAPClientContextBuilder.DefaultTLSCriteriaSetStrategy
Default TLS CriteriaSet strategy function.
|
| Modifier and Type | Field and Description |
|---|---|
private OutboundMessageType |
outboundMessage
The outbound message.
|
private EntityDescriptor |
peerEntityDescriptor
The SAML peer EntityDescriptor.
|
private String |
peerEntityID
The SAML peer entityID.
|
private QName |
peerEntityRole
The SAML peer entity role.
|
private RoleDescriptor |
peerRoleDescriptor
The SAML peer RoleDescriptor.
|
private String |
pipelineName
SOAP client message pipeline name.
|
private String |
protocol
The SAML protocol in use.
|
private String |
securityConfigurationProfileId
SOAP client security configuration profile ID.
|
private String |
selfEntityID
The SAML self entityID.
|
private com.google.common.base.Function<MessageContext<?>,CriteriaSet> |
tlsCriteriaSetStrategy
TLS CriteriaSet strategy.
|
| Constructor and Description |
|---|
SAMLSOAPClientContextBuilder() |
private OutboundMessageType extends SAMLObject outboundMessage
private String protocol
private String selfEntityID
private String peerEntityID
private QName peerEntityRole
private EntityDescriptor peerEntityDescriptor
private RoleDescriptor peerRoleDescriptor
private com.google.common.base.Function<MessageContext<?>,CriteriaSet> tlsCriteriaSetStrategy
private String pipelineName
private String securityConfigurationProfileId
@Nullable public OutboundMessageType getOutboundMessage()
@Nonnull public SAMLSOAPClientContextBuilder<InboundMessageType,OutboundMessageType> setOutboundMessage(OutboundMessageType message)
message - the outbound message@Nullable public String getProtocol()
@Nonnull public SAMLSOAPClientContextBuilder<InboundMessageType,OutboundMessageType> setProtocol(String uri)
uri - the SAML protocol.@Nullable public String getSelfEntityID()
@Nonnull public SAMLSOAPClientContextBuilder<InboundMessageType,OutboundMessageType> setSelfEntityID(String entityID)
entityID - the SAML self entityID.@Nullable public String getPeerEntityID()
@Nonnull public SAMLSOAPClientContextBuilder<InboundMessageType,OutboundMessageType> setPeerEntityID(String entityID)
entityID - the SAML peer entityID@Nullable public QName getPeerEntityRole()
@Nonnull public SAMLSOAPClientContextBuilder<InboundMessageType,OutboundMessageType> setPeerEntityRole(QName role)
role - the SAML peer role@Nullable public EntityDescriptor getPeerEntityDescriptor()
@Nonnull public SAMLSOAPClientContextBuilder<InboundMessageType,OutboundMessageType> setPeerEntityDescriptor(EntityDescriptor entityDescriptor)
entityDescriptor - the SAML peer EntityDescriptor@Nullable public RoleDescriptor getPeerRoleDescriptor()
@Nonnull public SAMLSOAPClientContextBuilder<InboundMessageType,OutboundMessageType> setPeerRoleDescriptor(RoleDescriptor roleDescriptor)
roleDescriptor - the SAML peer RoleDescriptor.@Nullable public com.google.common.base.Function<MessageContext<?>,CriteriaSet> getTLSCriteriaSetStrategy()
@Nonnull public SAMLSOAPClientContextBuilder<InboundMessageType,OutboundMessageType> setTLSCriteriaSetStrategy(@Nullable com.google.common.base.Function<MessageContext<?>,CriteriaSet> strategy)
strategy - the strategy@Nullable public String getPipelineName()
@Nonnull public SAMLSOAPClientContextBuilder<InboundMessageType,OutboundMessageType> setPipelineName(@Nullable String name)
name - the pipeline name, or null@Nullable public String getSecurityConfigurationProfileId()
@Nonnull public SAMLSOAPClientContextBuilder<InboundMessageType,OutboundMessageType> setSecurityConfigurationProfileId(@Nullable String profileId)
profileId - the profile ID, or nullpublic InOutOperationContext<InboundMessageType,OutboundMessageType> build() throws MessageException
MessageException - if any required data is not supplied and can not be derived from other supplied dataprivate void errorMissingData(@Nonnull String details) throws MessageException
details - the error detailsMessageException - the error to be reported outCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.