/** * Creates a new instance of a PasswordPolicy request Control without any * response data associated with it. * * @param hasResponse A flag set to <tt>true</tt> if the control should have a response */ public PasswordPolicyImpl( boolean hasResponse ) { if ( hasResponse ) { response = new PasswordPolicyResponseImpl(); } else { response = null; } }
/** * * {@inheritDoc} */ @Override public PasswordPolicyResponse setResponse( boolean hasResponse ) { PasswordPolicyResponse old = this.response; if ( hasResponse ) { this.response = new PasswordPolicyResponseImpl(); } else { this.response = null; } return old; }
/** * Creates a new instance of a PasswordPolicy request Control without any * response data associated with it. * * @param hasResponse A flag set to <tt>true</tt> if the control should have a response */ public PasswordPolicyImpl( boolean hasResponse ) { if ( hasResponse ) { response = new PasswordPolicyResponseImpl(); } else { response = null; } }
/** * Creates a new instance of a PasswordPolicy request Control without any * response data associated with it. * * @param hasResponse A flag set to <tt>true</tt> if the control should have a response */ public PasswordPolicyImpl( boolean hasResponse ) { if ( hasResponse ) { response = new PasswordPolicyResponseImpl(); } else { response = null; } }
/** * * {@inheritDoc} */ @Override public PasswordPolicyResponse setResponse( boolean hasResponse ) { PasswordPolicyResponse old = this.response; if ( hasResponse ) { this.response = new PasswordPolicyResponseImpl(); } else { this.response = null; } return old; }
/** * * {@inheritDoc} */ @Override public PasswordPolicyResponse setResponse( boolean hasResponse ) { PasswordPolicyResponse old = this.response; if ( hasResponse ) { this.response = new PasswordPolicyResponseImpl(); } else { this.response = null; } return old; }
new PasswordPolicyImpl( new PasswordPolicyResponseImpl() ) );