jenkins.plugins.http_request.auth
Class FormAuthentication

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<FormAuthentication>
      extended by jenkins.plugins.http_request.auth.FormAuthentication
All Implemented Interfaces:
hudson.model.Describable<FormAuthentication>, Authenticator

public class FormAuthentication
extends hudson.model.AbstractDescribableImpl<FormAuthentication>
implements Authenticator

Author:
Janario Oliveira

Nested Class Summary
static class FormAuthentication.FormAuthenticationDescriptor
           
 
Constructor Summary
FormAuthentication(String keyName, List<RequestAction> actions)
           
 
Method Summary
 void authenticate(org.apache.http.impl.client.DefaultHttpClient client, org.apache.http.protocol.HttpContext context, org.apache.http.client.methods.HttpRequestBase requestBase, PrintStream logger, Integer timeout)
           
 List<RequestAction> getActions()
           
 String getKeyName()
           
 
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormAuthentication

@DataBoundConstructor
public FormAuthentication(String keyName,
                                               List<RequestAction> actions)
Method Detail

getKeyName

public String getKeyName()
Specified by:
getKeyName in interface Authenticator

getActions

public List<RequestAction> getActions()

authenticate

public void authenticate(org.apache.http.impl.client.DefaultHttpClient client,
                         org.apache.http.protocol.HttpContext context,
                         org.apache.http.client.methods.HttpRequestBase requestBase,
                         PrintStream logger,
                         Integer timeout)
                  throws IOException,
                         InterruptedException
Specified by:
authenticate in interface Authenticator
Throws:
IOException
InterruptedException


Copyright © 2004-2015. All Rights Reserved.