Class SVNSaslAuthenticator
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.io.svn.SVNAuthenticator
-
- org.tmatesoft.svn.core.internal.io.svn.sasl.SVNSaslAuthenticator
-
public class SVNSaslAuthenticator extends SVNAuthenticator
- Version:
- 1.3
- Author:
- TMate Software Ltd.
-
-
Field Summary
-
Fields inherited from class org.tmatesoft.svn.core.internal.io.svn.SVNAuthenticator
FAILURE, STEP, SUCCESS
-
-
Constructor Summary
Constructors Constructor Description SVNSaslAuthenticator(SVNConnection connection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SVNAuthenticationauthenticate(java.util.List mechs, java.lang.String realm, SVNRepositoryImpl repository)protected javax.security.sasl.SaslClientcreateSaslClient(java.util.List mechs, java.lang.String realm, SVNRepositoryImpl repos, SVNURL location)voiddispose()protected voidsetEncryption(SVNRepositoryImpl repository)protected booleantryAuthentication(SVNRepositoryImpl repos, java.lang.String mechName)-
Methods inherited from class org.tmatesoft.svn.core.internal.io.svn.SVNAuthenticator
getConnection, getConnectionInputStream, getConnectionOutputStream, getLastError, getPlainInputStream, getPlainOutputStream, setInputStream, setLastError, setOutputStream
-
-
-
-
Constructor Detail
-
SVNSaslAuthenticator
public SVNSaslAuthenticator(SVNConnection connection) throws SVNException
- Throws:
SVNException
-
-
Method Detail
-
authenticate
public SVNAuthentication authenticate(java.util.List mechs, java.lang.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, java.lang.String mechName) throws javax.security.sasl.SaslException, SVNException
- Throws:
javax.security.sasl.SaslExceptionSVNException
-
setEncryption
protected void setEncryption(SVNRepositoryImpl repository)
-
createSaslClient
protected javax.security.sasl.SaslClient createSaslClient(java.util.List mechs, java.lang.String realm, SVNRepositoryImpl repos, SVNURL location) throws SVNException- Throws:
SVNException
-
-