mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
01.18.2007 a49dee3f75d6e2548e9114d9495655dd56f06973
opends/src/server/org/opends/server/extensions/NullConnectionSecurityProvider.java
@@ -134,7 +134,6 @@
  public void initializeConnectionSecurityProvider(ConfigEntry configEntry)
         throws ConfigException, InitializationException
  {
    clearBuffer      = null;
    clientConnection = null;
    socketChannel    = null;
@@ -148,7 +147,6 @@
   */
  public void finalizeConnectionSecurityProvider()
  {
    // No implementation is required.
  }
@@ -161,7 +159,6 @@
   */
  public String getSecurityMechanismName()
  {
    return "NULL";
  }
@@ -177,7 +174,6 @@
   */
  public boolean isSecure()
  {
    // This is not a secure provider.
    return false;
  }
@@ -205,7 +201,6 @@
                                                SocketChannel socketChannel)
         throws DirectoryException
  {
    return new NullConnectionSecurityProvider(clientConnection,
                                              socketChannel);
  }
@@ -229,7 +224,6 @@
   */
  public void disconnect(boolean connectionValid)
  {
    // No implementation is required.
  }
@@ -245,7 +239,6 @@
   */
  public int getClearBufferSize()
  {
    return BUFFER_SIZE;
  }
@@ -261,7 +254,6 @@
   */
  public int getEncodedBufferSize()
  {
    return BUFFER_SIZE;
  }
@@ -282,7 +274,6 @@
   */
  public boolean readData()
  {
    clearBuffer.clear();
    while (true)
    {
@@ -366,7 +357,6 @@
   */
  public boolean writeData(ByteBuffer clearData)
  {
    int position = clearData.position();
    int limit    = clearData.limit();