hudson.scm.credential
Class SVNSSLAuthentication

java.lang.Object
  extended by org.tmatesoft.svn.core.auth.SVNAuthentication
      extended by hudson.scm.credential.SVNSSLAuthentication

public class SVNSSLAuthentication
extends org.tmatesoft.svn.core.auth.SVNAuthentication

Author:
Steven Christou

Field Summary
static String MSCAPI
           
static String SSL
           
 
Constructor Summary
SVNSSLAuthentication(byte[] certFile, String password, boolean storageAllowed)
           
SVNSSLAuthentication(byte[] certFile, String password, boolean storageAllowed, org.tmatesoft.svn.core.SVNURL url, boolean isPartial)
          Creates an SSL credentials object.
SVNSSLAuthentication(File certFile, String password, boolean storageAllowed)
          Creates an SSL credentials object.
SVNSSLAuthentication(String sslKind, String alias, boolean storageAllowed)
           
 
Method Summary
static String formatCertificatePath(String path)
           
 String getAlias()
          Only used for MSCAPI
 byte[] getCertificateFile()
          Returns a user's certificate file.
 String getCertificatePath()
           
 String getPassword()
          Return a user's password.
 String getSSLKind()
          Returns the SSL kind.
static boolean isCertificatePath(String path)
           
 void setCertificatePath(String path)
           
 
Methods inherited from class org.tmatesoft.svn.core.auth.SVNAuthentication
getKind, getURL, getUserName, isPartial, isStorageAllowed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MSCAPI

public static final String MSCAPI
See Also:
Constant Field Values

SSL

public static final String SSL
See Also:
Constant Field Values
Constructor Detail

SVNSSLAuthentication

public SVNSSLAuthentication(File certFile,
                            String password,
                            boolean storageAllowed)
                     throws IOException
Creates an SSL credentials object.

Parameters:
certFile - user's certificate file
password - user's password
storageAllowed - to store or not this credential in a credentials cache
Throws:
IOException

SVNSSLAuthentication

public SVNSSLAuthentication(byte[] certFile,
                            String password,
                            boolean storageAllowed)

SVNSSLAuthentication

public SVNSSLAuthentication(byte[] certFile,
                            String password,
                            boolean storageAllowed,
                            org.tmatesoft.svn.core.SVNURL url,
                            boolean isPartial)
Creates an SSL credentials object.

Parameters:
certFile - user's certificate file
password - user's password
storageAllowed - to store or not this credential in a credentials cache
url - url these credentials are applied to
Since:
1.3.1

SVNSSLAuthentication

public SVNSSLAuthentication(String sslKind,
                            String alias,
                            boolean storageAllowed)
                     throws IOException
Throws:
IOException
Method Detail

getPassword

public String getPassword()
Return a user's password.

Returns:
a password

getCertificateFile

public byte[] getCertificateFile()
Returns a user's certificate file.

Returns:
certificate file

getSSLKind

public String getSSLKind()
Returns the SSL kind.

Returns:
SLLKind

getAlias

public String getAlias()
Only used for MSCAPI


getCertificatePath

public String getCertificatePath()

setCertificatePath

public void setCertificatePath(String path)

isCertificatePath

public static boolean isCertificatePath(String path)

formatCertificatePath

public static String formatCertificatePath(String path)


Copyright © 2004-2012 Hudson. All Rights Reserved.