public class VerifyNameControl extends AbstractControl implements RequestControl
verifyNameValue ::= SEQUENCE {
Flags INTEGER
ServerName OCTET STRING
}
See http://msdn.microsoft.com/en-us/library/cc223328.aspx
| Modifier and Type | Field and Description |
|---|---|
private static int |
HASH_CODE_SEED
hash code seed.
|
static String |
OID
OID of this control.
|
private String |
serverName
Global catalog server to contact.
|
logger| Constructor and Description |
|---|
VerifyNameControl()
Default constructor.
|
VerifyNameControl(String name)
Creates a new verify name control.
|
VerifyNameControl(String name,
boolean critical)
Creates a new verify name control.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
encode()
Provides the BER encoding of this control.
|
boolean |
equals(Object o) |
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() |
getCriticality, getOIDclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCriticality, getOIDpublic static final String OID
private static final int HASH_CODE_SEED
private String serverName
public VerifyNameControl()
public VerifyNameControl(String name)
name - server namepublic VerifyNameControl(String name, boolean critical)
name - server namecritical - whether this control is criticalpublic String getServerName()
public void setServerName(String name)
name - server namepublic boolean equals(Object o)
equals in class AbstractControlpublic int hashCode()
AbstractControlhashCode in class AbstractControlpublic byte[] encode()
RequestControlencode in interface RequestControlCopyright © 2003-2019 Virginia Tech. All Rights Reserved.