Class SVNAuthenticator
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.io.svn.SVNAuthenticator
-
- Direct Known Subclasses:
SVNPlainAuthenticator
,SVNSaslAuthenticator
public abstract class SVNAuthenticator extends java.lang.Object
- Version:
- 1.3
- Author:
- TMate Software Ltd.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SVNAuthenticator(SVNConnection connection)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract SVNAuthentication
authenticate(java.util.List mechs, java.lang.String realm, SVNRepositoryImpl repository)
void
dispose()
protected SVNConnection
getConnection()
protected java.io.InputStream
getConnectionInputStream()
protected java.io.OutputStream
getConnectionOutputStream()
protected SVNErrorMessage
getLastError()
protected java.io.InputStream
getPlainInputStream()
protected java.io.OutputStream
getPlainOutputStream()
protected void
setInputStream(java.io.InputStream is)
protected void
setLastError(SVNErrorMessage err)
protected void
setOutputStream(java.io.OutputStream os)
-
-
-
Field Detail
-
SUCCESS
protected static final java.lang.String SUCCESS
- See Also:
- Constant Field Values
-
FAILURE
protected static final java.lang.String FAILURE
- See Also:
- Constant Field Values
-
STEP
protected static final java.lang.String STEP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SVNAuthenticator
protected SVNAuthenticator(SVNConnection connection) throws SVNException
- Throws:
SVNException
-
-
Method Detail
-
setOutputStream
protected void setOutputStream(java.io.OutputStream os)
-
setInputStream
protected void setInputStream(java.io.InputStream is)
-
getConnectionInputStream
protected java.io.InputStream getConnectionInputStream()
-
getConnectionOutputStream
protected java.io.OutputStream getConnectionOutputStream()
-
getPlainInputStream
protected java.io.InputStream getPlainInputStream()
-
getPlainOutputStream
protected java.io.OutputStream getPlainOutputStream()
-
getConnection
protected SVNConnection getConnection()
-
getLastError
protected SVNErrorMessage getLastError()
-
dispose
public void dispose()
-
setLastError
protected void setLastError(SVNErrorMessage err)
-
authenticate
public abstract SVNAuthentication authenticate(java.util.List mechs, java.lang.String realm, SVNRepositoryImpl repository) throws SVNException
- Throws:
SVNException
-
-