Package org.jenkinsci.plugins.saml
Class SamlRedirectActionWrapper
java.lang.Object
org.jenkinsci.plugins.saml.OpenSAMLWrapper<org.pac4j.core.exception.http.RedirectionAction>
org.jenkinsci.plugins.saml.SamlRedirectActionWrapper
public class SamlRedirectActionWrapper
extends OpenSAMLWrapper<org.pac4j.core.exception.http.RedirectionAction>
Process the current configuration and request to prepare a Redirection to the IdP.
-
Field Summary
Fields inherited from class org.jenkinsci.plugins.saml.OpenSAMLWrapper
request, response, samlPluginConfig
-
Constructor Summary
ConstructorsConstructorDescriptionSamlRedirectActionWrapper
(SamlPluginConfig samlPluginConfig, org.kohsuke.stapler.StaplerRequest2 request, org.kohsuke.stapler.StaplerResponse2 response) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.pac4j.core.exception.http.RedirectionAction
process()
Process to run using the OpenSaml services.Methods inherited from class org.jenkinsci.plugins.saml.OpenSAMLWrapper
createSAML2Client, createSessionStore, createWebContext, get
-
Constructor Details
-
SamlRedirectActionWrapper
public SamlRedirectActionWrapper(SamlPluginConfig samlPluginConfig, org.kohsuke.stapler.StaplerRequest2 request, org.kohsuke.stapler.StaplerResponse2 response)
-
-
Method Details
-
process
Description copied from class:OpenSAMLWrapper
Process to run using the OpenSaml services.- Specified by:
process
in classOpenSAMLWrapper<org.pac4j.core.exception.http.RedirectionAction>
- Returns:
- the redirection URL to the IdP.
- Throws:
IllegalStateException
- if something goes wrong.
-