public enum SecurityAuthorizeMode extends Enum<SecurityAuthorizeMode>
SecurityProperties
.Enum Constant and Description |
---|
AUTHENTICATED
Must be an authenticated user.
|
NONE
No security authorization is setup.
|
ROLE
Must be a member of one of the security roles.
|
Modifier and Type | Method and Description |
---|---|
static SecurityAuthorizeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecurityAuthorizeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityAuthorizeMode ROLE
public static final SecurityAuthorizeMode AUTHENTICATED
public static final SecurityAuthorizeMode NONE
public static SecurityAuthorizeMode[] values()
for (SecurityAuthorizeMode c : SecurityAuthorizeMode.values()) System.out.println(c);
public static SecurityAuthorizeMode 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 nullCopyright © 2017 Pivotal Software, Inc.. All rights reserved.