Class SamlRedirect

java.lang.Object
org.elasticsearch.xpack.security.authc.saml.SamlRedirect

public class SamlRedirect extends Object
  • Constructor Details

    • SamlRedirect

      public SamlRedirect(org.opensaml.saml.saml2.core.RequestAbstractType request, SigningConfiguration signing)
    • SamlRedirect

      public SamlRedirect(org.opensaml.saml.saml2.core.StatusResponseType response, SigningConfiguration signing)
  • Method Details

    • getRedirectUrl

      public String getRedirectUrl() throws org.elasticsearch.ElasticsearchException
      Throws:
      org.elasticsearch.ElasticsearchException
    • getRedirectUrl

      public String getRedirectUrl(String relayState) throws org.elasticsearch.ElasticsearchException
      Throws:
      org.elasticsearch.ElasticsearchException
    • deflateAndBase64Encode

      protected String deflateAndBase64Encode(org.opensaml.saml.common.SAMLObject message) throws Exception
      Throws:
      Exception