jenkins.plugins.http_request.auth
Class BasicDigestAuthentication

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

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

Author:
Janario Oliveira

Nested Class Summary
static class BasicDigestAuthentication.BasicDigestAuthenticationDescriptor
           
 
Constructor Summary
BasicDigestAuthentication(String keyName, String userName, String password)
           
 
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)
           
 String getKeyName()
           
 String getPassword()
           
 String getUserName()
           
 
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

BasicDigestAuthentication

@DataBoundConstructor
public BasicDigestAuthentication(String keyName,
                                                      String userName,
                                                      String password)
Method Detail

getKeyName

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

getUserName

public String getUserName()

getPassword

public String getPassword()

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)
Specified by:
authenticate in interface Authenticator


Copyright © 2004-2015. All Rights Reserved.