|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TLSCapableConnection
This interface defines a set of methods that must be implemented by a class (expected to be a client connection) that can dynamically enable and disable the TLS connection security provider. This will be used by the StartTLS extended operation handler to perform the core function of enabling TLS on an established connection.
Method Summary | |
---|---|
void |
disableTLSConnectionSecurityProvider()
Disables the TLS connection security provider on this client connection. |
void |
enableTLSConnectionSecurityProvider()
Installs the TLS connection security provider on this client connection. |
void |
sendClearResponse(Operation operation)
Sends a response to the client in the clear rather than through the encrypted channel. |
boolean |
tlsProtectionAvailable(MessageBuilder unavailableReason)
Indicates whether TLS protection is actually available for the underlying client connection. |
Method Detail |
---|
boolean tlsProtectionAvailable(MessageBuilder unavailableReason)
unavailableReason
- The buffer used to hold the reason that TLS is
not available on the underlying client
connection.
true
if TLS is available on the underlying client
connection, or false
if it is not.void enableTLSConnectionSecurityProvider() throws DirectoryException
DirectoryException
- If the TLS connection security provider could
not be enabled and the underlying connection
has been closed.void disableTLSConnectionSecurityProvider() throws DirectoryException
DirectoryException
- If TLS protection cannot be reverted and the
underlying client connection has been closed.void sendClearResponse(Operation operation) throws DirectoryException
operation
- The operation for which to send the response in the
clear.
DirectoryException
- If a problem occurs while sending the response
in the clear.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |