|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.types.Control
org.opends.server.controls.LDAPAssertionRequestControl
public class LDAPAssertionRequestControl
This class implements the LDAP assertion request control as defined in RFC 4528. This control makes it possible to conditionally perform an operation if a given assertion is true. In particular, the associated operation should only be processed if the target entry matches the filter contained in this control.
Constructor Summary | |
---|---|
LDAPAssertionRequestControl(boolean isCritical,
LDAPFilter rawFilter)
Creates a new instance of this LDAP assertion request control with the provided information. |
|
LDAPAssertionRequestControl(java.lang.String oid,
boolean isCritical,
LDAPFilter rawFilter)
Creates a new instance of this LDAP assertion request control with the provided information. |
Method Summary | |
---|---|
static LDAPAssertionRequestControl |
decodeControl(Control control)
Creates a new LDAP assertion request control from the contents of the provided control. |
LDAPFilter |
getRawFilter()
Retrieves the raw, unparsed filter from the request control. |
SearchFilter |
getSearchFilter()
Retrieves the processed search filter for this control. |
void |
setRawFilter(LDAPFilter rawFilter)
Sets the raw, unparsed filter from the request control. |
java.lang.String |
toString()
Retrieves a string representation of this LDAP assertion request control. |
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this LDAP assertion request control to the provided buffer. |
Methods inherited from class org.opends.server.types.Control |
---|
getOID, getValue, hasValue, isCritical, setCritical, setOID, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LDAPAssertionRequestControl(boolean isCritical, LDAPFilter rawFilter)
isCritical
- Indicates whether support for this control should be
considered a critical part of the server processing.rawFilter
- The unparsed LDAP search filter contained in the
request from the client.public LDAPAssertionRequestControl(java.lang.String oid, boolean isCritical, LDAPFilter rawFilter)
oid
- The OID to use for this control.isCritical
- Indicates whether support for this control should be
considered a critical part of the server processing.rawFilter
- The unparsed LDAP search filter contained in the
request from the client.Method Detail |
---|
public static LDAPAssertionRequestControl decodeControl(Control control) throws LDAPException
control
- The generic control containing the information to use to
create this LDAP assertion request control.
LDAPException
- If this control cannot be decoded as a valid LDAP
assertion control.public LDAPFilter getRawFilter()
public void setRawFilter(LDAPFilter rawFilter)
rawFilter
- The raw, unparsed filter from the request control.public SearchFilter getSearchFilter() throws DirectoryException
DirectoryException
- If a problem occurs while attempting to
process the search filter.public java.lang.String toString()
toString
in class Control
public void toString(java.lang.StringBuilder buffer)
toString
in class Control
buffer
- The buffer to which the information should be appended.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |