|
SVNKit Home]]> | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.tmatesoft.svn.core.auth.SVNAuthentication
org.tmatesoft.svn.core.auth.SVNSSLAuthentication
public class SVNSSLAuthentication
The SVNSSLAuthentication class represents user's credentials used
to authenticate a user in secure connections. Used along with the
SSL credential kind.
| Field Summary | |
|---|---|
static java.lang.String |
MSCAPI
|
static java.lang.String |
SSL
|
| Constructor Summary | |
|---|---|
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. Use newInstance(String, String, boolean, SVNURL, boolean) method |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.tmatesoft.svn.core.auth.SVNAuthentication |
|---|
copyOf, 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 |
|---|
public static final java.lang.String MSCAPI
public static final java.lang.String SSL
| Constructor Detail |
|---|
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) method
| Method Detail |
|---|
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)
kind - authentication kind (MSCAPI or SSLalias - aliasstorageAllowed - to store or not this credential in a
credentials cacheurl - url these credentials are applied toisPartial -
public java.lang.String getPassword()
getPasswordValue() method
public 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 SVNAuthenticationpublic SVNAuthentication copy()
SVNAuthentication
copy in class SVNAuthentication
|
SVNKit Home]]> | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||