org.tmatesoft.svn.core.auth
public class SVNAuthentication extends Object
User credentials used by SVNRepository drivers to authenticate a user to a repository server, are provided to those drivers by ISVNAuthenticationManager implementations.
Version: 1.1.1
See Also: SVNPasswordAuthentication SVNSSHAuthentication ISVNAuthenticationManager SVNRepository
Constructor Summary | |
---|---|
SVNAuthentication(String kind, String userName, boolean storageAllowed)
Creates a username user credential object given a username.
|
Method Summary | |
---|---|
String | getKind()
Returns a credential kind for which this authentication
credential is used.
|
String | getUserName()
Reurns the username.
|
boolean | isStorageAllowed()
Says if this credential may be cached in the global auth cache.
|
Parameters: kind a credential kind userName a repository account username storageAllowed if true then this credential is allowed to be stored in the global auth cache, otherwise not
Returns: a credential kind
Returns: a repository account username
Returns: true if this credential may be stored, false if may not