Package org.jenkinsci.plugins.saml
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.
-
-
Field Summary
-
Fields inherited from class org.jenkinsci.plugins.saml.OpenSAMLWrapper
request, response, samlPluginConfig
-
-
Constructor Summary
Constructors Constructor Description SamlValidateIdPMetadata(String idpMetadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FormValidation
process()
process the IdP Metadata and try to parse it, if so, then return that the validation is ok.-
Methods inherited from class org.jenkinsci.plugins.saml.OpenSAMLWrapper
createSAML2Client, createWebContext, get
-
-
-
-
Constructor Detail
-
SamlValidateIdPMetadata
public SamlValidateIdPMetadata(String idpMetadata)
-
-
Method Detail
-
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 classOpenSAMLWrapper<FormValidation>
- Returns:
- ok if the IdP Metadata it right, if not return a validation error.
-
-