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)
Deprecated.
Use {@link #newInstance(File, char[], boolean, SVNURL, boolean) method
|
SVNSSLAuthentication(java.io.File certFile,
java.lang.String password,
boolean storageAllowed,
SVNURL url,
boolean isPartial)
Deprecated.
Use {@link #newInstance(File, char[], boolean, SVNURL, boolean) method
|
SVNSSLAuthentication(java.lang.String sslKind,
java.lang.String alias,
boolean storageAllowed,
SVNURL url,
boolean isPartial)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
SVNAuthentication |
copy()
Creates a deep copy of this credentials object.
|
void |
dismissSensitiveData()
Disposes sensitive data (e.g.
|
java.lang.String |
getAlias()
Only used for MSCAPI
|
byte[] |
getCertificate()
Returns certificate raw data
|
java.io.File |
getCertificateFile()
Returns a user's certificate file.
|
java.lang.String |
getCertificatePath() |
java.lang.String |
getPassword()
Deprecated.
Use
getPasswordValue() method |
char[] |
getPasswordValue()
Returns password.
|
java.lang.String |
getSSLKind() |
static boolean |
isCertificatePath(java.lang.String path) |
static SVNSSLAuthentication |
newInstance(byte[] cert,
char[] password,
boolean storageAllowed,
SVNURL url,
boolean isPartial) |
static SVNSSLAuthentication |
newInstance(java.io.File certFile,
char[] password,
boolean storageAllowed,
SVNURL url,
boolean isPartial) |
static SVNSSLAuthentication |
newInstance(java.lang.String kind,
java.lang.String alias,
boolean storageAllowed,
SVNURL url,
boolean isPartial) |
void |
setCertificatePath(java.lang.String path) |
copyOf, 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)
public SVNSSLAuthentication(java.io.File certFile, java.lang.String password, boolean storageAllowed, SVNURL url, boolean isPartial)
public SVNSSLAuthentication(java.lang.String sslKind, java.lang.String alias, boolean storageAllowed, SVNURL url, boolean isPartial)
newInstance(String, String, boolean, SVNURL, boolean)
methodpublic static SVNSSLAuthentication newInstance(java.io.File certFile, char[] 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 toisPartial
- public static SVNSSLAuthentication newInstance(byte[] cert, char[] password, boolean storageAllowed, SVNURL url, boolean isPartial)
cert
- user's certificatepassword
- user's passwordstorageAllowed
- to store or not this credential in a
credentials cacheurl
- url these credentials are applied toisPartial
- public static SVNSSLAuthentication newInstance(java.lang.String kind, java.lang.String alias, boolean storageAllowed, SVNURL url, boolean isPartial)
public java.lang.String getPassword()
getPasswordValue()
methodpublic byte[] getCertificate()
public char[] getPasswordValue()
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 void dismissSensitiveData()
SVNAuthentication
dismissSensitiveData
in class SVNAuthentication
public SVNAuthentication copy()
SVNAuthentication
copy
in class SVNAuthentication
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.