case PASSWORD_POLICY_REQUEST_CONTROL:
if ( isRequest )
{
control = new PasswordPolicyDecorator( getDirectoryService().getLdapCodecService(),
new PasswordPolicyImpl() );
}
else
{
control = new PasswordPolicyDecorator( getDirectoryService().getLdapCodecService(),
new PasswordPolicyImpl( new PasswordPolicyResponseImpl() ) );
}
break;
case PERSISTENT_SEARCH_CONTROL: