public class SVNPasswordAuthentication extends SVNAuthentication
To obtain a password credential, specify the PASSWORD
kind to credentials getter method of ISVNAuthenticationManager:
getFirstAuthentication()
,
getNextAuthentication()
.
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPassword()
Returns this user credential's password.
|
getKind, getURL, getUserName, isPartial, isStorageAllowed
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 toCopyright © 2004-2012 TMate Software Ltd. All Rights Reserved.