Package org.ldaptive.control
Class AuthorizationIdentityResponseControl
java.lang.Object
org.ldaptive.control.AbstractControl
org.ldaptive.control.AbstractResponseControl
org.ldaptive.control.AuthorizationIdentityResponseControl
- All Implemented Interfaces:
Control,ResponseControl,Freezable
Response control for authorization identity. See RFC 3829. Control value contains the authorizationId.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringAuthorization identity.private static final inthash code seed.static final StringOID of this control.Fields inherited from class org.ldaptive.control.AbstractControl
logger -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.AuthorizationIdentityResponseControl(boolean critical) Creates a new authorization identity response control.Creates a new authorization identity response control.AuthorizationIdentityResponseControl(String id, boolean critical) Creates a new authorization identity response control. -
Method Summary
Methods inherited from class org.ldaptive.control.AbstractResponseControl
assertMutable, freeze, freezeAndAssertMutable, isFrozenMethods inherited from class org.ldaptive.control.AbstractControl
getCriticality, getOIDMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ldaptive.control.Control
getCriticality, getOID
-
Field Details
-
OID
OID of this control.- See Also:
-
HASH_CODE_SEED
private static final int HASH_CODE_SEEDhash code seed.- See Also:
-
authorizationId
Authorization identity.
-
-
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
Creates a new authorization identity response control.- Parameters:
id- authorization id
-
AuthorizationIdentityResponseControl
Creates a new authorization identity response control.- Parameters:
id- authorization idcritical- whether this control is critical
-
-
Method Details
-
getAuthorizationId
Returns the authorization id.- Returns:
- authorization id
-
equals
- Overrides:
equalsin classAbstractControl
-
hashCode
public int hashCode()Description copied from class:AbstractControlReturns the hash code for this object.- Specified by:
hashCodein classAbstractControl- Returns:
- hash code
-
toString
- Overrides:
toStringin classAbstractControl
-
decode
Description copied from interface:ResponseControlInitializes this response control with the supplied BER encoded data.- Parameters:
encoded- BER encoded response control
-