| java.lang.Object org.tmatesoft.svn.core.auth.SVNAuthentication
All known Subclasses: org.tmatesoft.svn.core.auth.SVNSSHAuthentication, org.tmatesoft.svn.core.auth.SVNUserNameAuthentication, org.tmatesoft.svn.core.auth.SVNSSLAuthentication, org.tmatesoft.svn.core.auth.SVNPasswordAuthentication,
SVNAuthentication | public class SVNAuthentication (Code) | | 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.
version: 1.1.1 author: TMate Software Ltd. See Also: SVNPasswordAuthentication See Also: SVNSSHAuthentication See Also: ISVNAuthenticationManager See Also: org.tmatesoft.svn.core.io.SVNRepository |
Constructor Summary | |
public | SVNAuthentication(String kind, String userName, boolean storageAllowed) Creates a username user credential object given a username. |
Method Summary | |
public String | getKind() Returns a credential kind for which this authentication
credential is used. | public String | getUserName() Reurns the username. | public boolean | isStorageAllowed() Says if this credential may be cached in the global auth cache. |
SVNAuthentication | public SVNAuthentication(String kind, String userName, boolean storageAllowed)(Code) | | Creates a username user credential object given a username.
Parameters: kind - a credential kind Parameters: userName - a repository account username Parameters: storageAllowed - if true thenthis credential is allowed to be stored in the global auth cache, otherwise not |
getKind | public String getKind()(Code) | | Returns a credential kind for which this authentication
credential is used.
a credential kind |
getUserName | public String getUserName()(Code) | | Reurns the username.
a repository account username |
isStorageAllowed | public boolean isStorageAllowed()(Code) | | Says if this credential may be cached in the global auth cache.
true if this credentialmay be stored, false if may not |
|
|