public class ProxiedAuthV1Control extends Control
| Modifier and Type | Field and Description |
|---|---|
static ControlDecoder<ProxiedAuthV1Control> |
DECODER
The Control Decoder that can be used to decode this control.
|
| Constructor and Description |
|---|
ProxiedAuthV1Control(boolean isCritical,
org.forgerock.opendj.ldap.ByteString rawAuthorizationDN)
Creates a new instance of the proxied authorization v1 control with the
provided information.
|
ProxiedAuthV1Control(boolean isCritical,
DN authorizationDN)
Creates a new instance of the proxied authorization v1 control with the
provided information.
|
ProxiedAuthV1Control(org.forgerock.opendj.ldap.ByteString rawAuthorizationDN)
Creates a new instance of the proxied authorization v1 control with the
provided information.
|
ProxiedAuthV1Control(DN authorizationDN)
Creates a new instance of the proxied authorization v1 control with the
provided information.
|
| Modifier and Type | Method and Description |
|---|---|
DN |
getAuthorizationDN()
Retrieves the authorization DN from the control value.
|
Entry |
getAuthorizationEntry()
Retrieves the authorization entry for this proxied authorization V1
control.
|
org.forgerock.opendj.ldap.ByteString |
getRawAuthorizationDN()
Retrieves the raw, unprocessed authorization DN from the control value.
|
void |
toString(StringBuilder buffer)
Appends a string representation of this proxied auth v1 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, writepublic static final ControlDecoder<ProxiedAuthV1Control> DECODER
public ProxiedAuthV1Control(org.forgerock.opendj.ldap.ByteString rawAuthorizationDN)
rawAuthorizationDN - The raw, unprocessed authorization DN from the
control value. It must not be null.public ProxiedAuthV1Control(DN authorizationDN)
authorizationDN - The authorization DN from the control value. It
must not be null.public ProxiedAuthV1Control(boolean isCritical, org.forgerock.opendj.ldap.ByteString rawAuthorizationDN)
isCritical - Indicates whether support for this control
should be considered a critical part of the
server processing.rawAuthorizationDN - The raw, unprocessed authorization DN from the
control value.public ProxiedAuthV1Control(boolean isCritical, DN authorizationDN)
isCritical - Indicates whether support for this control
should be considered a critical part of the
server processing.authorizationDN - The authorization DN from the control value.
It must not be null.protected void writeValue(org.forgerock.opendj.io.ASN1Writer writer) throws IOException
writeValue in class Controlwriter - The ASN.1 writer to use.IOException - If a problem occurs while writing to the stream.public org.forgerock.opendj.ldap.ByteString getRawAuthorizationDN()
public DN getAuthorizationDN() throws DirectoryException
DirectoryException - If a problem occurs while attempting to decode
the raw authorization DN as a DN.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)
Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.