Class AbstractSAMLProfile

    • Field Detail

      • log

        protected static final Log log
      • builderFactory

        protected final org.opensaml.xml.XMLObjectBuilderFactory builderFactory
      • trustEngine

        protected org.opensaml.xml.signature.SignatureTrustEngine trustEngine
    • Constructor Detail

      • AbstractSAMLProfile

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

      • getProfileIdentifier

        public abstract String getProfileIdentifier()
        Returns:
        the profile identifier (Uri).
      • 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)
      • setSignatureRequired

        public void setSignatureRequired​(BooleanSupplier signatureRequired)
      • getDecrypter

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

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

        public int getSkewTimeMillis()
      • setSkewTimeMillis

        public void setSkewTimeMillis​(int skewTimeMillis)
      • newUUID

        protected String newUUID()
      • getBaseURL

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

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