public class SVNSSLAuthentication extends SVNAuthentication
SSL
credential kind.Constructor and Description |
---|
SVNSSLAuthentication(File certFile,
String password,
boolean storageAllowed)
Deprecated.
Use {@link #newInstance(File, char[], boolean, SVNURL, boolean) method
|
SVNSSLAuthentication(File certFile,
String password,
boolean storageAllowed,
SVNURL url,
boolean isPartial)
Deprecated.
Use {@link #newInstance(File, char[], boolean, SVNURL, boolean) method
|
SVNSSLAuthentication(String sslKind,
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.
|
String |
getAlias()
Only used for MSCAPI
|
byte[] |
getCertificate()
Returns certificate raw data
|
File |
getCertificateFile()
Returns a user's certificate file.
|
String |
getCertificatePath() |
String |
getPassword()
Deprecated.
Use
getPasswordValue() method |
char[] |
getPasswordValue()
Returns password.
|
String |
getSSLKind() |
static boolean |
isCertificatePath(String path) |
static SVNSSLAuthentication |
newInstance(byte[] cert,
char[] password,
boolean storageAllowed,
SVNURL url,
boolean isPartial) |
static SVNSSLAuthentication |
newInstance(File certFile,
char[] password,
boolean storageAllowed,
SVNURL url,
boolean isPartial) |
static SVNSSLAuthentication |
newInstance(String kind,
String alias,
boolean storageAllowed,
SVNURL url,
boolean isPartial) |
void |
setCertificatePath(String path) |
copyOf, getKind, getURL, getUserName, isPartial, isStorageAllowed
public static final String MSCAPI
public static final String SSL
public SVNSSLAuthentication(File certFile, String password, boolean storageAllowed)
public SVNSSLAuthentication(File certFile, String password, boolean storageAllowed, SVNURL url, boolean isPartial)
public SVNSSLAuthentication(String sslKind, String alias, boolean storageAllowed, SVNURL url, boolean isPartial)
newInstance(String, String, boolean, SVNURL, boolean)
methodpublic static SVNSSLAuthentication newInstance(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(String kind, String alias, boolean storageAllowed, SVNURL url, boolean isPartial)
public String getPassword()
getPasswordValue()
methodpublic byte[] getCertificate()
public char[] getPasswordValue()
public File getCertificateFile()
public String getSSLKind()
public String getAlias()
public String getCertificatePath()
public void setCertificatePath(String path)
public static boolean isCertificatePath(String path)
public void dismissSensitiveData()
SVNAuthentication
dismissSensitiveData
in class SVNAuthentication
public SVNAuthentication copy()
SVNAuthentication
copy
in class SVNAuthentication
Copyright © 2019. All rights reserved.