Package org.tmatesoft.svn.core.auth
Class SVNUserNameAuthentication
java.lang.Object
org.tmatesoft.svn.core.auth.SVNAuthentication
org.tmatesoft.svn.core.auth.SVNUserNameAuthentication
The SVNUserNameAuthentication class represents a simple
authentication credential class that uses only a username to
authenticate a user. Used along with the
ISVNAuthenticationManager.USERNAME
credential kind.- Since:
- 1.2
- Version:
- 1.3
-
Constructor Summary
ConstructorsConstructorDescriptionSVNUserNameAuthentication
(java.lang.String userName, boolean storageAllowed) Deprecated.SVNUserNameAuthentication
(java.lang.String userName, boolean storageAllowed, SVNURL url, boolean isPartial) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptioncopy()
Creates a deep copy of this credentials object.static SVNUserNameAuthentication
newInstance
(java.lang.String userName, boolean storageAllowed, SVNURL url, boolean isPartial) Creates a username authentication credential.Methods inherited from class org.tmatesoft.svn.core.auth.SVNAuthentication
copyOf, dismissSensitiveData, getKind, getURL, getUserName, isPartial, isStorageAllowed
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SVNUserNameAuthentication
public SVNUserNameAuthentication(java.lang.String userName, boolean storageAllowed) Deprecated. -
SVNUserNameAuthentication
public SVNUserNameAuthentication(java.lang.String userName, boolean storageAllowed, SVNURL url, boolean isPartial) Deprecated.- Since:
- 1.3.1
-
-
Method Details
-
newInstance
public static SVNUserNameAuthentication newInstance(java.lang.String userName, boolean storageAllowed, SVNURL url, boolean isPartial) Creates a username authentication credential.- Parameters:
userName
- a user namestorageAllowed
- if true then this credential is allowed to be stored in the global auth cache, otherwise noturl
- url these credentials are applied to- Since:
- 1.8.9
-
copy
Description copied from class:SVNAuthentication
Creates a deep copy of this credentials object. Sensitive data (e.g. password) is copied too.- Overrides:
copy
in classSVNAuthentication
- Returns:
- copy of this object.
-
newInstance(String, boolean, SVNURL, boolean)
method