Class SamlValidateIdPMetadata

java.lang.Object
org.jenkinsci.plugins.saml.OpenSAMLWrapper<FormValidation>
org.jenkinsci.plugins.saml.SamlValidateIdPMetadata

public class SamlValidateIdPMetadata extends OpenSAMLWrapper<FormValidation>
validate the IdP metadata, this class is used from the configuration screen to validate the XML in the IdP Metadata textarea.
  • Constructor Details

    • SamlValidateIdPMetadata

      public SamlValidateIdPMetadata(String idpMetadata)
  • Method Details

    • process

      protected FormValidation process()
      process the IdP Metadata and try to parse it, if so, then return that the validation is ok.
      Specified by:
      process in class OpenSAMLWrapper<FormValidation>
      Returns:
      ok if the IdP Metadata it right, if not return a validation error.