|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.control.AbstractControl
org.ldaptive.ad.control.VerifyNameControl
public class VerifyNameControl
Request control for active directory servers to use an extended form of an object distinguished name. Control is defined as:
verifyNameValue ::= SEQUENCE {
Flags INTEGER
ServerName OCTET STRING
}
See http://msdn.microsoft.com/en-us/library/cc223328.aspx
| Field Summary | |
|---|---|
static String |
OID
OID of this control. |
| Fields inherited from class org.ldaptive.control.AbstractControl |
|---|
logger |
| Constructor Summary | |
|---|---|
VerifyNameControl()
Default constructor. |
|
VerifyNameControl(String name)
Creates a new verify name control. |
|
VerifyNameControl(String name,
boolean critical)
Creates a new verify name control. |
|
| Method Summary | |
|---|---|
byte[] |
encode()
Provides the BER encoding of this control. |
String |
getServerName()
Returns the server name. |
int |
hashCode()
Returns the hash code for this object. |
void |
setServerName(String name)
Sets the server name. |
String |
toString()
|
| Methods inherited from class org.ldaptive.control.AbstractControl |
|---|
equals, getCriticality, getOID |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ldaptive.control.Control |
|---|
getCriticality, getOID |
| Field Detail |
|---|
public static final String OID
| Constructor Detail |
|---|
public VerifyNameControl()
public VerifyNameControl(String name)
name - server name
public VerifyNameControl(String name,
boolean critical)
name - server namecritical - whether this control is critical| Method Detail |
|---|
public String getServerName()
public void setServerName(String name)
name - server namepublic int hashCode()
hashCode in class AbstractControlpublic String toString()
toString in class Objectpublic byte[] encode()
encode in interface RequestControl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||