public class ProxyAuthorizationControl extends AbstractControl implements RequestControl
controlValue ::= OCTET STRING -- authorizationId
Modifier and Type | Field and Description |
---|---|
private 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 String |
OID
OID of this control.
|
logger
Constructor and Description |
---|
ProxyAuthorizationControl()
Default constructor.
|
ProxyAuthorizationControl(String id)
Creates a new proxy authorization control.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
encode()
Provides the BER encoding of this control.
|
boolean |
equals(Object o) |
String |
getAuthorizationId()
Returns the authorization identity.
|
int |
hashCode()
Returns the hash code for this object.
|
void |
setAuthorizationId(String id)
Sets the authorization identity.
|
String |
toString() |
getCriticality, getOID
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCriticality, getOID
public static final String OID
private static final int HASH_CODE_SEED
private static final byte[] EMPTY_AUTHZ
private String authorizationId
public ProxyAuthorizationControl()
public ProxyAuthorizationControl(String id)
id
- authorization identitypublic String getAuthorizationId()
public void setAuthorizationId(String id)
id
- authorization identitypublic boolean equals(Object o)
equals
in class AbstractControl
public int hashCode()
AbstractControl
hashCode
in class AbstractControl
public byte[] encode()
RequestControl
encode
in interface RequestControl
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.