public enum FqdnValidator extends Enum<FqdnValidator>
NamingService.updateFqdnMappings(Set)
.Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
String |
getFullyQualifiedHostName(String hostname)
Returns null if a given host name is valid.
|
static FqdnValidator |
getInstance() |
void |
initialize() |
boolean |
isHostnameValid(String hostname)
Returns
true if a host name is valid. |
static FqdnValidator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FqdnValidator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FqdnValidator INSTANCE
public static FqdnValidator[] values()
for (FqdnValidator c : FqdnValidator.values()) System.out.println(c);
public static FqdnValidator 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 static FqdnValidator getInstance()
public void initialize()
public boolean isHostnameValid(String hostname)
true
if a host name is valid. hostname
is valid if it is contained in the list
of fully qualified host names. Or, it is the default host name where OpenAM is installed.hostname
- host name.public String getFullyQualifiedHostName(String hostname)
hostname
- host name.hostname
.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.