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(String userName,
String password,
boolean storageAllowed)
Creates a password user credential object given a username and password.
|
SVNPasswordAuthentication(String userName,
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 |
|---|---|
String |
getPassword()
Returns this user credential's password.
|
getKind, getURL, getUserName, isPartial, isStorageAllowedpublic SVNPasswordAuthentication(String userName, 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(String userName, 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 topublic String getPassword()
Copyright © 2004-2011 TMate Software Ltd. All Rights Reserved.