Class AuthorizationIdentityResponseControl

java.lang.Object
org.ldaptive.control.AbstractControl
org.ldaptive.control.AuthorizationIdentityResponseControl
All Implemented Interfaces:
Control, ResponseControl

public class AuthorizationIdentityResponseControl extends AbstractControl implements ResponseControl
Response control for authorization identity. See RFC 3829. Control value contains the authorizationId.
  • Field Details

  • Constructor Details

    • AuthorizationIdentityResponseControl

      public AuthorizationIdentityResponseControl()
      Default constructor.
    • AuthorizationIdentityResponseControl

      public AuthorizationIdentityResponseControl(boolean critical)
      Creates a new authorization identity response control.
      Parameters:
      critical - whether this control is critical
    • AuthorizationIdentityResponseControl

      public AuthorizationIdentityResponseControl(String id)
      Creates a new authorization identity response control.
      Parameters:
      id - authorization id
    • AuthorizationIdentityResponseControl

      public AuthorizationIdentityResponseControl(String id, boolean critical)
      Creates a new authorization identity response control.
      Parameters:
      id - authorization id
      critical - whether this control is critical
  • Method Details

    • getAuthorizationId

      public String getAuthorizationId()
      Returns the authorization id.
      Returns:
      authorization id
    • setAuthorizationId

      public void setAuthorizationId(String id)
      Sets the authorization identity.
      Parameters:
      id - authorization id
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AbstractControl
    • hashCode

      public int hashCode()
      Description copied from class: AbstractControl
      Returns the hash code for this object.
      Specified by:
      hashCode in class AbstractControl
      Returns:
      hash code
    • toString

      public String toString()
      Overrides:
      toString in class AbstractControl
    • decode

      public void decode(DERBuffer encoded)
      Description copied from interface: ResponseControl
      Initializes this response control with the supplied BER encoded data.
      Specified by:
      decode in interface ResponseControl
      Parameters:
      encoded - BER encoded response control