Class SVNSaslAuthenticator
java.lang.Object
org.tmatesoft.svn.core.internal.io.svn.SVNAuthenticator
org.tmatesoft.svn.core.internal.io.svn.sasl.SVNSaslAuthenticator
- Version:
- 1.3
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate SVNAuthenticationprivate ISVNAuthenticationManagerprivate SaslClientFields inherited from class org.tmatesoft.svn.core.internal.io.svn.SVNAuthenticator
FAILURE, STEP, SUCCESS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticate(List mechs, String realm, SVNRepositoryImpl repository) protected SaslClientcreateSaslClient(List mechs, String realm, SVNRepositoryImpl repos, SVNURL location) voiddispose()private static byte[]fromBase64(String src) private static StringgetFullRealmName(SVNURL location, String realm) private static StringgetMechanismName(SaslClient client, boolean isAnonymous) private static SaslClientFactorygetSaslClientFactory(String mechName, Map props) protected voidsetEncryption(SVNRepositoryImpl repository) private static StringtoBase64(byte[] src) protected booleantryAuthentication(SVNRepositoryImpl repos, String mechName) Methods inherited from class org.tmatesoft.svn.core.internal.io.svn.SVNAuthenticator
getConnection, getConnectionInputStream, getConnectionOutputStream, getLastError, getPlainInputStream, getPlainOutputStream, setInputStream, setLastError, setOutputStream
-
Field Details
-
myClient
-
myAuthenticationManager
-
myAuthentication
-
-
Constructor Details
-
SVNSaslAuthenticator
- Throws:
SVNException
-
-
Method Details
-
authenticate
public SVNAuthentication authenticate(List mechs, String realm, SVNRepositoryImpl repository) throws SVNException - Specified by:
authenticatein classSVNAuthenticator- Throws:
SVNException
-
dispose
public void dispose()- Overrides:
disposein classSVNAuthenticator
-
tryAuthentication
protected boolean tryAuthentication(SVNRepositoryImpl repos, String mechName) throws SaslException, SVNException - Throws:
SaslExceptionSVNException
-
setEncryption
-
createSaslClient
protected SaslClient createSaslClient(List mechs, String realm, SVNRepositoryImpl repos, SVNURL location) throws SVNException - Throws:
SVNException
-
getFullRealmName
-
toBase64
-
fromBase64
-
getMechanismName
-
getSaslClientFactory
-