|
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 String |
MSCAPI
|
static String |
SSL
|
Constructor Summary | |
---|---|
SVNSSLAuthentication(File certFile,
String password,
boolean storageAllowed)
Creates an SSL credentials object. |
|
SVNSSLAuthentication(File certFile,
String password,
boolean storageAllowed,
SVNURL url,
boolean isPartial)
Creates an SSL credentials object. |
|
SVNSSLAuthentication(String sslKind,
String alias,
boolean storageAllowed,
SVNURL url,
boolean isPartial)
|
Method Summary | |
---|---|
static String |
formatCertificatePath(String path)
|
String |
getAlias()
Only used for MSCAPI |
File |
getCertificateFile()
Returns a user's certificate file. |
String |
getCertificatePath()
|
String |
getPassword()
Return a user's password. |
String |
getSSLKind()
|
static boolean |
isCertificatePath(String path)
|
void |
setCertificatePath(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 String MSCAPI
public static final String SSL
Constructor Detail |
---|
public SVNSSLAuthentication(File certFile, String password, boolean storageAllowed)
certFile
- user's certificate filepassword
- user's passwordstorageAllowed
- to store or not this credential in a
credentials cachepublic SVNSSLAuthentication(File certFile, 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(String sslKind, String alias, boolean storageAllowed, SVNURL url, boolean isPartial)
Method Detail |
---|
public String getPassword()
public File getCertificateFile()
public String getSSLKind()
public String getAlias()
public String getCertificatePath()
public void setCertificatePath(String path)
public static boolean isCertificatePath(String path)
public static String formatCertificatePath(String path)
|
SVNKit Home | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |