public class SVNSSLAuthentication
extends org.tmatesoft.svn.core.auth.SVNSSLAuthentication
| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
static String |
formatCertificatePath(String path) |
String |
getAlias()
Only used for MSCAPI
|
byte[] |
getByteCertificateFile()
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) |
public static final String MSCAPI
public static final String SSL
public SVNSSLAuthentication(File certFile, String password, boolean storageAllowed) throws IOException
certFile - user's certificate filepassword - user's passwordstorageAllowed - to store or not this credential in a
credentials cacheIOExceptionpublic SVNSSLAuthentication(byte[] certFile,
String password,
boolean storageAllowed)
public SVNSSLAuthentication(byte[] certFile,
String password,
boolean storageAllowed,
org.tmatesoft.svn.core.SVNURL url,
boolean isPartial)
certFile - user's certificate filepassword - user's passwordstorageAllowed - to store or not this credential in a
credentials cacheurl - url these credentials are applied topublic SVNSSLAuthentication(String sslKind, String alias, boolean storageAllowed) throws IOException
IOExceptionpublic String getPassword()
getPassword in class org.tmatesoft.svn.core.auth.SVNSSLAuthenticationpublic byte[] getByteCertificateFile()
public String getSSLKind()
getSSLKind in class org.tmatesoft.svn.core.auth.SVNSSLAuthenticationpublic String getAlias()
getAlias in class org.tmatesoft.svn.core.auth.SVNSSLAuthenticationpublic String getCertificatePath()
getCertificatePath in class org.tmatesoft.svn.core.auth.SVNSSLAuthenticationpublic void setCertificatePath(String path)
setCertificatePath in class org.tmatesoft.svn.core.auth.SVNSSLAuthenticationpublic static boolean isCertificatePath(String path)
Copyright © 2004-2015 Hudson. All Rights Reserved.