|
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.SVNPasswordAuthentication
public class SVNPasswordAuthentication
The SVNPasswordAuthentication class represents a simple user credential pair - a username and password.
To obtain a password credential, specify the PASSWORD
kind to credentials getter method of ISVNAuthenticationManager:
getFirstAuthentication(),
getNextAuthentication().
| Constructor Summary | |
|---|---|
SVNPasswordAuthentication(java.lang.String userName,
java.lang.String password,
boolean storageAllowed)
Deprecated. use newInstance(String, char[], boolean, SVNURL, boolean) |
|
SVNPasswordAuthentication(java.lang.String userName,
java.lang.String password,
boolean storageAllowed,
SVNURL url,
boolean isPartial)
Deprecated. use newInstance(String, char[], boolean, SVNURL, boolean) |
|
| 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 |
getPassword()
Deprecated. Use getPasswordValue() method |
char[] |
getPasswordValue()
Returns password. |
static SVNPasswordAuthentication |
newInstance(java.lang.String userName,
char[] password,
boolean storageAllowed,
SVNURL url,
boolean isPartial)
Creates a password user credential object given a username and password. |
| 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 |
| Constructor Detail |
|---|
public SVNPasswordAuthentication(java.lang.String userName,
java.lang.String password,
boolean storageAllowed)
newInstance(String, char[], boolean, SVNURL, boolean)
userName - the name of a user to authenticatepassword - the user's passwordstorageAllowed - if true then
this credential is allowed to be stored in the
global auth cache, otherwise not
public SVNPasswordAuthentication(java.lang.String userName,
java.lang.String password,
boolean storageAllowed,
SVNURL url,
boolean isPartial)
newInstance(String, char[], boolean, SVNURL, boolean)
userName - the name of a user to authenticatepassword - the user's passwordstorageAllowed - if true then
this credential is allowed to be stored in the
global auth cache, otherwise noturl - url these credentials are applied to| Method Detail |
|---|
public static SVNPasswordAuthentication newInstance(java.lang.String userName,
char[] password,
boolean storageAllowed,
SVNURL url,
boolean isPartial)
userName - the name of a user to authenticatepassword - the user's passwordstorageAllowed - if true then
this credential is allowed to be stored in the
global auth cache, otherwise noturl - url these credentials are applied toisPartial - whether this object only contains part of credentials informationpublic java.lang.String getPassword()
getPasswordValue() method
public char[] getPasswordValue()
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 | ||||||||