org.springframework.security.saml.websso
Class WebSSOProfileHoKImpl
java.lang.Object
org.springframework.security.saml.websso.AbstractProfileBase
org.springframework.security.saml.websso.WebSSOProfileImpl
org.springframework.security.saml.websso.WebSSOProfileHoKImpl
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, WebSSOProfile
public class WebSSOProfileHoKImpl
- extends WebSSOProfileImpl
Class implements WebSSO profile and offers capabilities for SP initialized SSO and
process Response coming from IDP or IDP initialized SSO. HTTP-POST and HTTP-Redirect
bindings are supported.
- Author:
- Vladimir Schafer
Method Summary |
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. |
Methods inherited from class org.springframework.security.saml.websso.AbstractProfileBase |
afterPropertiesSet, buildCommonAttributes, generateID, getEndpointBinding, getIssuer, getMaxAssertionTime, getResponseSkew, getStatus, isEndpointMatching, sendMessage, sendMessage, setArtifactMap, setMaxAssertionTime, setMetadata, setProcessor, setResponseSkew, verifyEndpoint, verifyIssuer, verifySignature |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebSSOProfileHoKImpl
public WebSSOProfileHoKImpl()
getProfileIdentifier
public String getProfileIdentifier()
- Description copied from class:
AbstractProfileBase
- Implementation are expected to provide an unique identifier for the profile this class implements.
- Overrides:
getProfileIdentifier
in class WebSSOProfileImpl
- Returns:
- profile name
isEndpointSupported
protected boolean isEndpointSupported(org.opensaml.saml2.metadata.SingleSignOnService endpoint)
throws org.opensaml.saml2.metadata.provider.MetadataProviderException
- Description copied from class:
WebSSOProfileImpl
- Determines whether given SingleSignOn service can be used together with this profile. Bindings POST, Artifact
and Redirect are supported for WebSSO.
- Overrides:
isEndpointSupported
in class WebSSOProfileImpl
- Parameters:
endpoint
- endpoint
- Returns:
- true if endpoint is supported
- Throws:
org.opensaml.saml2.metadata.provider.MetadataProviderException
- in case system can't verify whether endpoint is supported or not
isEndpointSupported
protected boolean isEndpointSupported(org.opensaml.saml2.metadata.AssertionConsumerService endpoint)
throws org.opensaml.saml2.metadata.provider.MetadataProviderException
- Description copied from class:
WebSSOProfileImpl
- Determines whether given AssertionConsumerService can be used to deliver messages consumable by this profile. Bindings
POST and Artifact are supported for WebSSO.
- Overrides:
isEndpointSupported
in class WebSSOProfileImpl
- Parameters:
endpoint
- endpoint
- Returns:
- true if endpoint is supported
- Throws:
org.opensaml.saml2.metadata.provider.MetadataProviderException
- in case system can't verify whether endpoint is supported or not