public class SVNSSLAuthentication extends SVNAuthentication
SSL credential kind.| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
MSCAPI |
|
static java.lang.String |
SSL |
| Constructor | Description |
|---|---|
SVNSSLAuthentication(java.io.File certFile,
java.lang.String password,
boolean storageAllowed) |
Deprecated.
Use
method |
SVNSSLAuthentication(java.io.File certFile,
java.lang.String password,
boolean storageAllowed,
SVNURL url,
boolean isPartial) |
Deprecated.
Use
method |
SVNSSLAuthentication(java.lang.String sslKind,
java.lang.String alias,
boolean storageAllowed,
SVNURL url,
boolean isPartial) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
SVNAuthentication |
copy() |
Creates a deep copy of this credentials object.
|
void |
dismissSensitiveData() |
Disposes sensitive data (e.g. password) stored in this object.
|
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopyOf, getKind, getURL, getUserName, isPartial, isStorageAllowedpublic 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)
methodpublic SVNSSLAuthentication(java.io.File certFile,
java.lang.String password,
boolean storageAllowed,
SVNURL url,
boolean isPartial)
methodpublic SVNSSLAuthentication(java.lang.String sslKind,
java.lang.String alias,
boolean storageAllowed,
SVNURL url,
boolean isPartial)
public 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()
SVNAuthenticationdismissSensitiveData in class SVNAuthenticationpublic SVNAuthentication copy()
SVNAuthenticationcopy in class SVNAuthentication