public class AuthorizationIdentityResponseControl extends AbstractControl implements ResponseControl
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
authorizationId
Authorization identity.
|
private static int |
HASH_CODE_SEED
hash code seed.
|
static java.lang.String |
OID
OID of this control.
|
logger| Constructor and Description |
|---|
AuthorizationIdentityResponseControl()
Default constructor.
|
AuthorizationIdentityResponseControl(boolean critical)
Creates a new authorization identity response control.
|
AuthorizationIdentityResponseControl(java.lang.String id)
Creates a new authorization identity response control.
|
AuthorizationIdentityResponseControl(java.lang.String id,
boolean critical)
Creates a new authorization identity response control.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decode(byte[] berValue)
Initializes this response control with the supplied BER encoded data.
|
java.lang.String |
getAuthorizationId()
Returns the authorization id.
|
int |
hashCode()
Returns the hash code for this object.
|
void |
setAuthorizationId(java.lang.String id)
Sets the authorization identity.
|
java.lang.String |
toString() |
equals, getCriticality, getOIDclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCriticality, getOIDpublic static final java.lang.String OID
private static final int HASH_CODE_SEED
private java.lang.String authorizationId
public AuthorizationIdentityResponseControl()
public AuthorizationIdentityResponseControl(boolean critical)
critical - whether this control is criticalpublic AuthorizationIdentityResponseControl(java.lang.String id)
id - authorization idpublic AuthorizationIdentityResponseControl(java.lang.String id,
boolean critical)
id - authorization idcritical - whether this control is criticalpublic java.lang.String getAuthorizationId()
public void setAuthorizationId(java.lang.String id)
id - authorization idpublic int hashCode()
AbstractControlhashCode in class AbstractControlpublic java.lang.String toString()
toString in class java.lang.Objectpublic void decode(byte[] berValue)
ResponseControldecode in interface ResponseControlberValue - BER encoded response control