hudson.scm.credential
Class PasswordCredential

java.lang.Object
  extended by hudson.scm.SubversionSCM.DescriptorImpl.Credential
      extended by hudson.scm.credential.PasswordCredential
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SubversionSCM.DescriptorImpl.PasswordCredential

public class PasswordCredential
extends SubversionSCM.DescriptorImpl.Credential

Username/password based authentication.

Date: 5/11/11

Author:
Nikita Levyankov
See Also:
Serialized Form

Constructor Summary
PasswordCredential(String userName, String password)
           
 
Method Summary
 org.tmatesoft.svn.core.auth.SVNAuthentication createSVNAuthentication(String kind)
           
 boolean equals(Object o)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordCredential

public PasswordCredential(String userName,
                          String password)
Method Detail

createSVNAuthentication

public org.tmatesoft.svn.core.auth.SVNAuthentication createSVNAuthentication(String kind)
Specified by:
createSVNAuthentication in class SubversionSCM.DescriptorImpl.Credential
Parameters:
kind - One of the constants defined in ISVNAuthenticationManager, indicating what subtype of SVNAuthentication is expected.

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2004-2011 Hudson. All Rights Reserved.