public enum LdapSecureMode extends Enum<LdapSecureMode>
Modifier and Type | Class and Description |
---|---|
static class |
LdapSecureMode.Adapter |
Modifier and Type | Method and Description |
---|---|
static LdapSecureMode |
fromString(String name) |
static LdapSecureMode |
fromUrl(String url) |
int |
getDefaultPort() |
String |
getName() |
String |
getProtocol() |
String |
toString() |
static LdapSecureMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LdapSecureMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LdapSecureMode NONE
public static final LdapSecureMode LDAPS
public static final LdapSecureMode START_TLS
public static LdapSecureMode[] values()
for (LdapSecureMode c : LdapSecureMode.values()) System.out.println(c);
public static LdapSecureMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<LdapSecureMode>
public String getName()
public String getProtocol()
public int getDefaultPort()
public static LdapSecureMode fromString(String name)
public static LdapSecureMode fromUrl(String url)
Copyright © 2020 Atlassian. All rights reserved.