|
|||||||||
| 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 constructor with SVNURL parameter instead |
|
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)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.tmatesoft.svn.core.auth.SVNAuthentication |
|---|
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)
certFile - user's certificate filepassword - user's passwordstorageAllowed - to store or not this credential in a
credentials cache
public 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 to
public SVNSSLAuthentication(java.lang.String sslKind,
java.lang.String alias,
boolean storageAllowed,
SVNURL url,
boolean isPartial)
| Method Detail |
|---|
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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||