public class GetEffectiveRightsRequestControl extends Control
GetRightsControl ::= SEQUENCE { authzId authzId attributes SEQUENCE OF AttributeType } -- Only the "dn:DN form is supported.
Modifier and Type | Field and Description |
---|---|
static ControlDecoder<GetEffectiveRightsRequestControl> |
DECODER
The Control Decoder that can be used to decode this control.
|
Constructor and Description |
---|
GetEffectiveRightsRequestControl(boolean isCritical,
org.forgerock.opendj.ldap.Dn authzDN,
List<org.forgerock.opendj.ldap.schema.AttributeType> attrs)
Create a new geteffectiverights control with the specified authzDN and an attribute list.
|
GetEffectiveRightsRequestControl(boolean isCritical,
String authzDN,
List<String> attrs)
Create a new geteffectiverights control with the specified raw authzDN and an attribute list.
|
GetEffectiveRightsRequestControl(org.forgerock.opendj.ldap.Dn authzDN,
List<org.forgerock.opendj.ldap.schema.AttributeType> attrs)
Create a new geteffectiverights control with the specified authzDN and an attribute list.
|
Modifier and Type | Method and Description |
---|---|
List<org.forgerock.opendj.ldap.schema.AttributeType> |
getAttributes()
Return the requested additional attributes parsed from the control.
|
org.forgerock.opendj.ldap.Dn |
getAuthzDN()
Return the authzDN parsed from the control.
|
org.forgerock.opendj.ldap.ByteString |
getValue() |
boolean |
hasValue() |
void |
writeValue(org.forgerock.opendj.io.Asn1Writer writer)
Writes this control's value to an ASN.1 writer.
|
getOid, getValueAdapter, isCritical, toString, toString, write
public static final ControlDecoder<GetEffectiveRightsRequestControl> DECODER
public GetEffectiveRightsRequestControl(org.forgerock.opendj.ldap.Dn authzDN, List<org.forgerock.opendj.ldap.schema.AttributeType> attrs)
authzDN
- The authzDN.attrs
- The list of additional attributes to be returned.public GetEffectiveRightsRequestControl(boolean isCritical, org.forgerock.opendj.ldap.Dn authzDN, List<org.forgerock.opendj.ldap.schema.AttributeType> attrs)
isCritical
- Indicates whether this control should be considered critical in processing the request.authzDN
- The authzDN.attrs
- The list of additional attributes to be returned.public GetEffectiveRightsRequestControl(boolean isCritical, String authzDN, List<String> attrs)
isCritical
- Indicates whether this control should be considered critical in processing the request.authzDN
- The authzDN.attrs
- The list of additional attributes to be returned.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 org.forgerock.opendj.ldap.Dn getAuthzDN()
public List<org.forgerock.opendj.ldap.schema.AttributeType> getAttributes()
Copyright © 2010–2017 ForgeRock AS. All rights reserved.