public class ProxyAuthorizationControl extends AbstractControl implements RequestControl
controlValue ::= OCTET STRING -- authorizationId
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
authorizationId
authorization identity.
|
private static byte[] |
EMPTY_AUTHZ
empty byte array used for anonymous authz.
|
private static int |
HASH_CODE_SEED
hash code seed.
|
static java.lang.String |
OID
OID of this control.
|
logger| Constructor and Description |
|---|
ProxyAuthorizationControl()
Default constructor.
|
ProxyAuthorizationControl(java.lang.String id)
Creates a new proxy authorization control.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
encode()
Provides the BER encoding of this control.
|
java.lang.String |
getAuthorizationId()
Returns the authorization identity.
|
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 static final byte[] EMPTY_AUTHZ
private java.lang.String authorizationId
public ProxyAuthorizationControl()
public ProxyAuthorizationControl(java.lang.String id)
id - authorization identitypublic java.lang.String getAuthorizationId()
public void setAuthorizationId(java.lang.String id)
id - authorization identitypublic int hashCode()
AbstractControlhashCode in class AbstractControlpublic java.lang.String toString()
toString in class java.lang.Objectpublic byte[] encode()
RequestControlencode in interface RequestControl