Package org.apache.directory.shared.ldap.message

Examples of org.apache.directory.shared.ldap.message.ExtendedResponseImpl


        else
        {
            sslFilter.startSsl( session.getIoSession() );
        }
       
        InternalExtendedResponse res = new ExtendedResponseImpl( req.getMessageId() );
        InternalLdapResult result = res.getLdapResult();
        result.setResultCode( ResultCodeEnum.SUCCESS );
        res.setResponseName( EXTENSION_OID );
        res.setResponse( new byte[ 0 ] );

        // Send a response.
        session.getIoSession().setAttribute( SslFilter.DISABLE_ENCRYPTION_ONCE );
        session.getIoSession().write( res );
    }
View Full Code Here

TOP

Related Classes of org.apache.directory.shared.ldap.message.ExtendedResponseImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.