org.tmatesoft.svn.core.auth
Class SVNAuthentication
public class SVNAuthentication
The
SVNAuthentication is the base class that represents user
credentials.
SVNAuthentication provides only a username. Other
kinds of user credentials extend this base class and add their own specific
information.
User credentials used by
SVNRepository drivers to authenticate
a user to a repository server, are provided to those drivers by
ISVNAuthenticationManager implementations.
SVNAuthentication(String kind, String userName, boolean storageAllowed)- Creates a username user credential object given a username.
|
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.
|
SVNAuthentication
public SVNAuthentication(String kind,
String userName,
boolean storageAllowed) Creates a username user credential object given a username.
kind - a credential kinduserName - a repository account usernamestorageAllowed - if true then
this credential is allowed to be stored in the
global auth cache, otherwise not
getKind
public String getKind()
Returns a credential kind for which this authentication
credential is used.
getUserName
public String getUserName()
Reurns the username.
- a repository account username
isStorageAllowed
public boolean isStorageAllowed()
Says if this credential may be cached in the global auth cache.
- true if this credential
may be stored, false if may not
Copyright © 2004-2006 TMate Software Ltd. All Rights Reserved.