/** * {@inheritDoc} */ @Override public void unbind() throws LdapException { UnbindOperationContext unbindContext = new UnbindOperationContext( this ); OperationManager operationManager = directoryService.getOperationManager(); operationManager.unbind( unbindContext ); }
/** * {@inheritDoc} */ @Override public void unbind( UnbindRequest unbindRequest ) throws LdapException { UnbindOperationContext unbindContext = new UnbindOperationContext( this, unbindRequest ); OperationManager operationManager = directoryService.getOperationManager(); operationManager.unbind( unbindContext ); }
UnbindOperationContext opCtx = new UnbindOperationContext( getSession() );