|
SVNKit Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tmatesoft.svn.core.auth.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.
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SVNAuthentication(String kind, String userName, boolean storageAllowed)
kind
- a credential kinduserName
- a repository account usernamestorageAllowed
- if true then
this credential is allowed to be stored in the
global auth cache, otherwise notMethod Detail |
public String getUserName()
public boolean isStorageAllowed()
public String getKind()
|
SVNKit Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |