public class ProxiedAuthV2Control extends Control
Modifier and Type | Field and Description |
---|---|
static ControlDecoder<ProxiedAuthV2Control> |
DECODER
The Control Decoder that can be used to decode this control.
|
Constructor and Description |
---|
ProxiedAuthV2Control(boolean isCritical,
org.forgerock.opendj.ldap.ByteString authorizationID)
Creates a new instance of the proxied authorization v2 control with the
provided information.
|
ProxiedAuthV2Control(org.forgerock.opendj.ldap.ByteString authorizationID)
Creates a new instance of the proxied authorization v2 control with the
provided information.
|
Modifier and Type | Method and Description |
---|---|
Entry |
getAuthorizationEntry()
Retrieves the authorization entry for this proxied authorization V2
control.
|
org.forgerock.opendj.ldap.ByteString |
getAuthorizationID()
Retrieves the authorization ID for this proxied authorization V2 control.
|
void |
toString(StringBuilder buffer)
Appends a string representation of this control to the provided
buffer.
|
protected void |
writeValue(org.forgerock.opendj.io.Asn1Writer writer)
Writes this control's value to an ASN.1 writer.
|
getOid, isCritical, toString, write
public static final ControlDecoder<ProxiedAuthV2Control> DECODER
public ProxiedAuthV2Control(org.forgerock.opendj.ldap.ByteString authorizationID)
authorizationID
- The authorization ID from the control value.public ProxiedAuthV2Control(boolean isCritical, org.forgerock.opendj.ldap.ByteString authorizationID)
isCritical
- Indicates whether support for this control
should be considered a critical part of the
server processing.authorizationID
- The authorization ID from the control value.protected void writeValue(org.forgerock.opendj.io.Asn1Writer writer) throws IOException
writeValue
in class Control
writer
- The ASN.1 writer to use.IOException
- If a problem occurs while writing to the stream.public org.forgerock.opendj.ldap.ByteString getAuthorizationID()
public Entry getAuthorizationEntry() throws DirectoryException
null
if the
authorization DN is the null DN.DirectoryException
- If the target user does not exist or is not
available for use, or if a problem occurs
while making the determination.public void toString(StringBuilder buffer)
Control
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.