|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 constructor with SVNURL parameter instead |
|
SVNPasswordAuthentication(java.lang.String userName,
java.lang.String password,
boolean storageAllowed,
SVNURL url,
boolean isPartial)
Creates a password user credential object given a username and password. |
Method Summary | |
---|---|
java.lang.String |
getPassword()
Returns this user credential's password. |
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 |
Constructor Detail |
---|
public SVNPasswordAuthentication(java.lang.String userName, java.lang.String password, boolean storageAllowed)
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 notpublic SVNPasswordAuthentication(java.lang.String userName, java.lang.String 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 toMethod Detail |
---|
public java.lang.String getPassword()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |