Class WebSSOProfileImpl
- java.lang.Object
-
- org.nuxeo.ecm.platform.auth.saml.AbstractSAMLProfile
-
- org.nuxeo.ecm.platform.auth.saml.sso.WebSSOProfileImpl
-
- All Implemented Interfaces:
WebSSOProfile
public class WebSSOProfileImpl extends AbstractSAMLProfile implements WebSSOProfile
WebSSO (Single Sign On) profile implementation.- Since:
- 6.0
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
signatureMandatory
-
Fields inherited from class org.nuxeo.ecm.platform.auth.saml.AbstractSAMLProfile
builderFactory, log, trustEngine
-
Fields inherited from interface org.nuxeo.ecm.platform.auth.saml.sso.WebSSOProfile
PROFILE_URI
-
-
Constructor Summary
Constructors Constructor Description WebSSOProfileImpl(org.opensaml.saml2.metadata.SingleSignOnService sso)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opensaml.saml2.core.AuthnRequest
buildAuthRequest(javax.servlet.http.HttpServletRequest httpRequest, String... authnContexts)
String
getProfileIdentifier()
SAMLCredential
processAuthenticationResponse(org.opensaml.common.binding.SAMLMessageContext context)
WebSSOProfileImpl
setSignatureMandatory(boolean signatureMandatory)
protected void
validateAssertion(org.opensaml.saml2.core.Assertion assertion, org.opensaml.common.binding.SAMLMessageContext context)
-
Methods inherited from class org.nuxeo.ecm.platform.auth.saml.AbstractSAMLProfile
build, getBaseURL, getDecrypter, getEndpoint, getSkewTimeMillis, getStartPageURL, getTrustEngine, newUUID, retrieveRequest, setDecrypter, setSkewTimeMillis, setTrustEngine, validateEndpoint, validateIssuer, validateSignature
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.ecm.platform.auth.saml.sso.WebSSOProfile
getEndpoint
-
-
-
-
Method Detail
-
getProfileIdentifier
public String getProfileIdentifier()
- Specified by:
getProfileIdentifier
in classAbstractSAMLProfile
- Returns:
- the profile identifier (Uri).
-
processAuthenticationResponse
public SAMLCredential processAuthenticationResponse(org.opensaml.common.binding.SAMLMessageContext context) throws org.opensaml.common.SAMLException
- Specified by:
processAuthenticationResponse
in interfaceWebSSOProfile
- Throws:
org.opensaml.common.SAMLException
-
buildAuthRequest
public org.opensaml.saml2.core.AuthnRequest buildAuthRequest(javax.servlet.http.HttpServletRequest httpRequest, String... authnContexts) throws org.opensaml.common.SAMLException
- Specified by:
buildAuthRequest
in interfaceWebSSOProfile
- Throws:
org.opensaml.common.SAMLException
-
validateAssertion
protected void validateAssertion(org.opensaml.saml2.core.Assertion assertion, org.opensaml.common.binding.SAMLMessageContext context) throws org.opensaml.common.SAMLException
- Overrides:
validateAssertion
in classAbstractSAMLProfile
- Throws:
org.opensaml.common.SAMLException
-
setSignatureMandatory
public WebSSOProfileImpl setSignatureMandatory(boolean signatureMandatory)
-
-