public abstract class AbstractSAMLProfile extends Object
Modifier and Type | Field and Description |
---|---|
protected org.opensaml.xml.XMLObjectBuilderFactory |
builderFactory |
protected static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
AbstractSAMLProfile(org.opensaml.saml2.metadata.Endpoint endpoint) |
Modifier and Type | Method and Description |
---|---|
protected <T extends org.opensaml.common.SAMLObject> |
build(QName qName) |
protected String |
getBaseURL(javax.servlet.ServletRequest request) |
org.opensaml.saml2.encryption.Decrypter |
getDecrypter() |
org.opensaml.saml2.metadata.Endpoint |
getEndpoint() |
abstract String |
getProfileIdentifier() |
protected String |
getStartPageURL(javax.servlet.ServletRequest request) |
org.opensaml.xml.signature.SignatureTrustEngine |
getTrustEngine() |
protected String |
newUUID() |
protected org.opensaml.saml2.core.AuthnRequest |
retrieveRequest(org.opensaml.saml2.core.Response response) |
void |
setDecrypter(org.opensaml.saml2.encryption.Decrypter decrypter) |
void |
setTrustEngine(org.opensaml.xml.signature.SignatureTrustEngine trustEngine) |
protected void |
validateAssertion(org.opensaml.saml2.core.Assertion assertion,
org.opensaml.common.binding.SAMLMessageContext context) |
protected void |
validateEndpoint(org.opensaml.saml2.core.Response response,
org.opensaml.saml2.metadata.Endpoint endpoint) |
protected void |
validateIssuer(org.opensaml.saml2.core.Issuer issuer,
org.opensaml.common.binding.SAMLMessageContext context) |
protected void |
validateSignature(org.opensaml.xml.signature.Signature signature,
String IDPEntityID) |
protected static final org.apache.commons.logging.Log log
protected final org.opensaml.xml.XMLObjectBuilderFactory builderFactory
public AbstractSAMLProfile(org.opensaml.saml2.metadata.Endpoint endpoint)
public abstract String getProfileIdentifier()
protected void validateSignature(org.opensaml.xml.signature.Signature signature, String IDPEntityID) throws org.opensaml.xml.validation.ValidationException, org.opensaml.xml.security.SecurityException
org.opensaml.xml.validation.ValidationException
org.opensaml.xml.security.SecurityException
protected void validateIssuer(org.opensaml.saml2.core.Issuer issuer, org.opensaml.common.binding.SAMLMessageContext context) throws org.opensaml.common.SAMLException
org.opensaml.common.SAMLException
protected void validateEndpoint(org.opensaml.saml2.core.Response response, org.opensaml.saml2.metadata.Endpoint endpoint) throws org.opensaml.common.SAMLException
org.opensaml.common.SAMLException
protected void validateAssertion(org.opensaml.saml2.core.Assertion assertion, org.opensaml.common.binding.SAMLMessageContext context) throws org.opensaml.common.SAMLException, org.opensaml.xml.security.SecurityException, org.opensaml.xml.validation.ValidationException, org.opensaml.xml.encryption.DecryptionException
org.opensaml.common.SAMLException
org.opensaml.xml.security.SecurityException
org.opensaml.xml.validation.ValidationException
org.opensaml.xml.encryption.DecryptionException
protected org.opensaml.saml2.core.AuthnRequest retrieveRequest(org.opensaml.saml2.core.Response response) throws org.opensaml.common.SAMLException
org.opensaml.common.SAMLException
public org.opensaml.saml2.metadata.Endpoint getEndpoint()
public org.opensaml.xml.signature.SignatureTrustEngine getTrustEngine()
public void setTrustEngine(org.opensaml.xml.signature.SignatureTrustEngine trustEngine)
public org.opensaml.saml2.encryption.Decrypter getDecrypter()
public void setDecrypter(org.opensaml.saml2.encryption.Decrypter decrypter)
protected String getBaseURL(javax.servlet.ServletRequest request)
protected String getStartPageURL(javax.servlet.ServletRequest request)
Copyright © 2016 Nuxeo SA. All rights reserved.