|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.api.ConnectionSecurityProvider
org.opends.server.extensions.NullConnectionSecurityProvider
org.opends.server.extensions.InternalConnectionSecurityProvider
public class InternalConnectionSecurityProvider
This provides an implementation of a connection security provider that is
intended to be used for internal client connections. It is exactly the same
as the null connection security provider in that it doesn't actually protect
anything, but the isSecure
method always returns
true
because it is inherently secure by being an internal
connection.
Constructor Summary | |
---|---|
|
InternalConnectionSecurityProvider()
Creates a new instance of this internal connection security provider. |
protected |
InternalConnectionSecurityProvider(ClientConnection clientConnection,
java.nio.channels.SocketChannel socketChannel)
Creates a new instance of this internal connection security provider with the provided information. |
Method Summary | |
---|---|
java.lang.String |
getSecurityMechanismName()
Retrieves the name used to identify this security mechanism. |
boolean |
isSecure()
Indicates whether client connections using this connection security provider should be considered secure. |
ConnectionSecurityProvider |
newInstance(ClientConnection clientConnection,
java.nio.channels.SocketChannel socketChannel)
Creates a new instance of this connection security provider that will be used to encode and decode all communication on the provided client connection. |
Methods inherited from class org.opends.server.extensions.NullConnectionSecurityProvider |
---|
disconnect, finalizeConnectionSecurityProvider, getClearBufferSize, getEncodedBufferSize, initializeConnectionSecurityProvider, readData, writeData, writeWithTimeout |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InternalConnectionSecurityProvider()
protected InternalConnectionSecurityProvider(ClientConnection clientConnection, java.nio.channels.SocketChannel socketChannel)
clientConnection
- The client connection for this security provider
instance.socketChannel
- The socket channel for this security provider
instance.Method Detail |
---|
public java.lang.String getSecurityMechanismName()
getSecurityMechanismName
in class NullConnectionSecurityProvider
public boolean isSecure()
isSecure
in class NullConnectionSecurityProvider
true
if client connections using this connection
security provider should be considered secure, or
false
if not.public ConnectionSecurityProvider newInstance(ClientConnection clientConnection, java.nio.channels.SocketChannel socketChannel) throws DirectoryException
newInstance
in class NullConnectionSecurityProvider
clientConnection
- The client connection with which this security
provider will be associated.socketChannel
- The socket channel that may be used to
communicate with the client.
DirectoryException
- If a problem occurs while creating a new
instance of this security provider for the
given client connection.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |