|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<SASLQualityOfProtection>
com.unboundid.ldap.sdk.SASLQualityOfProtection
@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum SASLQualityOfProtection
This enum defines the set of supported SASL quality of protection values.
| Enum Constant Summary | |
|---|---|
AUTH
The quality of protection value that indicates that only authentication is to be performed, with no integrity or confidentiality protection for subsequent communication. |
|
AUTH_CONF
The quality of protection value that indicates that confidentiality protection will be provided for subsequent communication after authentication has completed. |
|
AUTH_INT
The quality of protection value that indicates that integrity protection will be provided for subsequent communication after authentication has completed. |
|
| Method Summary | |
|---|---|
static java.util.List<SASLQualityOfProtection> |
decodeQoPList(java.lang.String s)
Decodes the provided string as a comma-delimited list of SASL quality of protection values. |
static SASLQualityOfProtection |
forName(java.lang.String name)
Retrieves the SASL quality of protection value with the given name. |
java.lang.String |
toString()
Retrieves a string representation of this SASL quality of protection. |
static java.lang.String |
toString(java.util.List<SASLQualityOfProtection> qopValues)
Retrieves a string representation of the provided list of quality of protection values, as may be provided to a Java SaslClient. |
static SASLQualityOfProtection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SASLQualityOfProtection[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SASLQualityOfProtection AUTH
public static final SASLQualityOfProtection AUTH_INT
public static final SASLQualityOfProtection AUTH_CONF
| Method Detail |
|---|
public static SASLQualityOfProtection[] values()
for (SASLQualityOfProtection c : SASLQualityOfProtection.values()) System.out.println(c);
public static SASLQualityOfProtection valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic static SASLQualityOfProtection forName(java.lang.String name)
name - The name of the SASL quality of protection value to retrieve.
It must not be null.
null if
there is no value with the provided name.
public static java.util.List<SASLQualityOfProtection> decodeQoPList(java.lang.String s)
throws LDAPException
s - The string to be decoded.
null but may be empty if the provided string was
null or empty.
LDAPException - If the provided string cannot be decoded as a valid
list of SASL quality of protection values.public java.lang.String toString()
toString in class java.lang.Enum<SASLQualityOfProtection>public static java.lang.String toString(java.util.List<SASLQualityOfProtection> qopValues)
SaslClient.
qopValues - The list of values for which to create the string
representation.
SaslClient.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||