public class AuthorizationIdentityResponseControl extends Control
Modifier and Type | Field and Description |
---|---|
static ControlDecoder<AuthorizationIdentityResponseControl> |
DECODER
The Control Decoder that can be used to decode this control.
|
Constructor and Description |
---|
AuthorizationIdentityResponseControl()
Creates a new authorization identity response control using the default settings to indicate an anonymous
authentication.
|
AuthorizationIdentityResponseControl(boolean isCritical)
Creates a new authorization identity response control using the default settings to indicate an anonymous
authentication.
|
AuthorizationIdentityResponseControl(boolean isCritical,
String authorizationID)
Creates a new authorization identity response control with the provided information.
|
AuthorizationIdentityResponseControl(org.forgerock.opendj.ldap.Dn authorizationDN)
Creates a new authorization identity response control with the provided information.
|
AuthorizationIdentityResponseControl(String authorizationID)
Creates a new authorization identity response control with the provided information.
|
Modifier and Type | Method and Description |
---|---|
String |
getAuthorizationID()
Retrieves the authorization ID for this authorization identity response control.
|
org.forgerock.opendj.ldap.ByteString |
getValue() |
boolean |
hasValue() |
void |
toString(StringBuilder buffer)
Appends a string representation of this control to the provided buffer.
|
void |
writeValue(org.forgerock.opendj.io.Asn1Writer writer)
Writes this control's value to an ASN.1 writer.
|
getOid, getValueAdapter, isCritical, toString, write
public static final ControlDecoder<AuthorizationIdentityResponseControl> DECODER
public AuthorizationIdentityResponseControl()
public AuthorizationIdentityResponseControl(boolean isCritical)
isCritical
- Indicates whether this control should be considered critical in processing the request.public AuthorizationIdentityResponseControl(String authorizationID)
authorizationID
- The authorization ID for this control.public AuthorizationIdentityResponseControl(boolean isCritical, String authorizationID)
isCritical
- Indicates whether this control should be considered critical in processing the request.authorizationID
- The authorization ID for this control.public AuthorizationIdentityResponseControl(org.forgerock.opendj.ldap.Dn authorizationDN)
authorizationDN
- The authorization DN for this control.public boolean hasValue()
public org.forgerock.opendj.ldap.ByteString getValue()
public void writeValue(org.forgerock.opendj.io.Asn1Writer writer) throws IOException
Control
writeValue
in class Control
writer
- The ASN.1 writer to use.IOException
- If a problem occurs while writing to the stream.public String getAuthorizationID()
public void toString(StringBuilder buffer)
Control
Copyright © 2010–2017 ForgeRock AS. All rights reserved.