public class WebSSOProfileECPImpl extends WebSSOProfileImpl
artifactMap, builderFactory, log, metadata, processor, uriComparator
Constructor and Description |
---|
WebSSOProfileECPImpl() |
Modifier and Type | Method and Description |
---|---|
protected org.opensaml.saml2.ecp.Request |
getECPRequest(SAMLMessageContext context,
WebSSOProfileOptions options) |
protected org.opensaml.ws.soap.soap11.Envelope |
getEnvelope() |
protected Request |
getPAOSRequest(org.opensaml.saml2.metadata.AssertionConsumerService assertionConsumer) |
String |
getProfileIdentifier()
Implementation are expected to provide an unique identifier for the profile this class implements.
|
protected boolean |
isEndpointSupported(org.opensaml.saml2.metadata.AssertionConsumerService endpoint)
Determines whether given AssertionConsumerService can be used to deliver messages consumable by this profile.
|
protected boolean |
isEndpointSupported(org.opensaml.saml2.metadata.SingleSignOnService endpoint)
Determines whether given SingleSignOn service can be used together with this profile.
|
void |
sendAuthenticationRequest(SAMLMessageContext context,
WebSSOProfileOptions options)
Initializes SSO by creating AuthnRequest assertion and sending it to the IDP using the default binding.
|
buildAuthnContext, buildIDPList, buildReturnAddress, buildScoping, builNameIDPolicy, getAssertionConsumerService, getAuthnRequest, getSingleSignOnService, getSPNameQualifier
afterPropertiesSet, buildCommonAttributes, generateID, getEndpointBinding, getIssuer, getMaxAssertionTime, getResponseSkew, getStatus, isEndpointMatching, sendMessage, sendMessage, setArtifactMap, setMaxAssertionTime, setMetadata, setProcessor, setResponseSkew, verifyEndpoint, verifyIssuer, verifySignature
public String getProfileIdentifier()
AbstractProfileBase
getProfileIdentifier
in class WebSSOProfileImpl
public void sendAuthenticationRequest(SAMLMessageContext context, WebSSOProfileOptions options) throws org.opensaml.common.SAMLException, org.opensaml.saml2.metadata.provider.MetadataProviderException, org.opensaml.ws.message.encoder.MessageEncodingException
WebSSOProfileImpl
sendAuthenticationRequest
in interface WebSSOProfile
sendAuthenticationRequest
in class WebSSOProfileImpl
options
- values specified by caller to customize format of sent requestorg.opensaml.common.SAMLException
- error initializing SSOorg.opensaml.saml2.metadata.provider.MetadataProviderException
- error retrieving needed metadataorg.opensaml.ws.message.encoder.MessageEncodingException
- error forming SAML messageprotected boolean isEndpointSupported(org.opensaml.saml2.metadata.AssertionConsumerService endpoint)
WebSSOProfileImpl
isEndpointSupported
in class WebSSOProfileImpl
endpoint
- endpointprotected boolean isEndpointSupported(org.opensaml.saml2.metadata.SingleSignOnService endpoint)
WebSSOProfileImpl
isEndpointSupported
in class WebSSOProfileImpl
endpoint
- endpointprotected Request getPAOSRequest(org.opensaml.saml2.metadata.AssertionConsumerService assertionConsumer)
protected org.opensaml.saml2.ecp.Request getECPRequest(SAMLMessageContext context, WebSSOProfileOptions options)
protected org.opensaml.ws.soap.soap11.Envelope getEnvelope()