Class FormAuthentication
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<FormAuthentication>
-
- jenkins.plugins.http_request.auth.FormAuthentication
-
- All Implemented Interfaces:
Describable<FormAuthentication>
,Serializable
,Authenticator
public class FormAuthentication extends AbstractDescribableImpl<FormAuthentication> implements Authenticator
- Author:
- Janario Oliveira
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FormAuthentication.FormAuthenticationDescriptor
-
Constructor Summary
Constructors Constructor Description FormAuthentication(String keyName, List<RequestAction> actions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.http.impl.client.CloseableHttpClient
authenticate(org.apache.http.impl.client.HttpClientBuilder clientBuilder, org.apache.http.protocol.HttpContext context, org.apache.http.client.methods.HttpRequestBase requestBase, PrintStream logger)
List<RequestAction>
getActions()
String
getKeyName()
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
FormAuthentication
@DataBoundConstructor public FormAuthentication(String keyName, List<RequestAction> actions)
-
-
Method Detail
-
getKeyName
public String getKeyName()
- Specified by:
getKeyName
in interfaceAuthenticator
-
getActions
public List<RequestAction> getActions()
-
authenticate
public org.apache.http.impl.client.CloseableHttpClient authenticate(org.apache.http.impl.client.HttpClientBuilder clientBuilder, org.apache.http.protocol.HttpContext context, org.apache.http.client.methods.HttpRequestBase requestBase, PrintStream logger) throws IOException
- Specified by:
authenticate
in interfaceAuthenticator
- Throws:
IOException
-
-