Class AbstractSAMLProfile

    • Field Detail

      • log

        protected static final Log log
      • builderFactory

        protected final org.opensaml.xml.XMLObjectBuilderFactory builderFactory
    • Constructor Detail

      • AbstractSAMLProfile

        public AbstractSAMLProfile​(org.opensaml.saml2.metadata.Endpoint endpoint)
    • Method Detail

      • build

        protected <T extends org.opensaml.common.SAMLObject> T build​(QName qName)
      • validateSignature

        protected void validateSignature​(org.opensaml.xml.signature.Signature signature,
                                         String IDPEntityID)
                                  throws org.opensaml.common.SAMLException
        Throws:
        org.opensaml.common.SAMLException
      • validateIssuer

        protected void validateIssuer​(org.opensaml.saml2.core.Issuer issuer,
                                      org.opensaml.common.binding.SAMLMessageContext context)
                               throws org.opensaml.common.SAMLException
        Throws:
        org.opensaml.common.SAMLException
      • validateEndpoint

        protected void validateEndpoint​(org.opensaml.saml2.core.Response response,
                                        org.opensaml.saml2.metadata.Endpoint endpoint)
                                 throws org.opensaml.common.SAMLException
        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
        Throws:
        org.opensaml.common.SAMLException
      • retrieveRequest

        protected org.opensaml.saml2.core.AuthnRequest retrieveRequest​(org.opensaml.saml2.core.Response response)
                                                                throws org.opensaml.common.SAMLException
        Throws:
        org.opensaml.common.SAMLException
      • getEndpoint

        public org.opensaml.saml2.metadata.Endpoint getEndpoint()
      • getTrustEngine

        public org.opensaml.xml.signature.SignatureTrustEngine getTrustEngine()
      • setTrustEngine

        public void setTrustEngine​(org.opensaml.xml.signature.SignatureTrustEngine trustEngine)
      • getDecrypter

        public org.opensaml.saml2.encryption.Decrypter getDecrypter()
      • setDecrypter

        public void setDecrypter​(org.opensaml.saml2.encryption.Decrypter decrypter)
      • getBaseURL

        protected String getBaseURL​(javax.servlet.ServletRequest request)