org.tmatesoft.svn.core.auth
public class SVNSSLAuthentication extends SVNAuthentication
SSL
credential kind.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MSCAPI |
static java.lang.String |
SSL |
Constructor and Description |
---|
SVNSSLAuthentication(java.io.File certFile,
java.lang.String password,
boolean storageAllowed)
Creates an SSL credentials object.
|
SVNSSLAuthentication(java.io.File certFile,
java.lang.String password,
boolean storageAllowed,
SVNURL url,
boolean isPartial)
Creates an SSL credentials object.
|
SVNSSLAuthentication(java.lang.String sslKind,
java.lang.String alias,
boolean storageAllowed,
SVNURL url,
boolean isPartial) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
formatCertificatePath(java.lang.String path) |
java.lang.String |
getAlias()
Only used for MSCAPI
|
java.io.File |
getCertificateFile()
Returns a user's certificate file.
|
java.lang.String |
getCertificatePath() |
java.lang.String |
getPassword()
Return a user's password.
|
java.lang.String |
getSSLKind() |
static boolean |
isCertificatePath(java.lang.String path) |
void |
setCertificatePath(java.lang.String path) |
getKind, getURL, getUserName, isPartial, isStorageAllowed
public static final java.lang.String MSCAPI
public static final java.lang.String SSL
public SVNSSLAuthentication(java.io.File certFile, java.lang.String password, boolean storageAllowed)
certFile
- user's certificate filepassword
- user's passwordstorageAllowed
- to store or not this credential in a
credentials cachepublic SVNSSLAuthentication(java.io.File certFile, java.lang.String password, boolean storageAllowed, 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(java.lang.String sslKind, java.lang.String alias, boolean storageAllowed, SVNURL url, boolean isPartial)
public java.lang.String getPassword()
public java.io.File getCertificateFile()
public java.lang.String getSSLKind()
public java.lang.String getAlias()
public java.lang.String getCertificatePath()
public void setCertificatePath(java.lang.String path)
public static boolean isCertificatePath(java.lang.String path)
public static java.lang.String formatCertificatePath(java.lang.String path)
Copyright © 2004-2011 TMate Software Ltd. All Rights Reserved.