public enum RolePolicy extends Enum<RolePolicy>
| Enum Constant and Description |
|---|
PREFIXED_ROLES |
| Modifier and Type | Method and Description |
|---|---|
static RolePolicy |
getPolicy(String code) |
String |
getValue() |
abstract void |
handleRoles(Subject subject,
Set<Principal> principals,
String discriminator) |
static RolePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RolePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RolePolicy PREFIXED_ROLES
public static RolePolicy[] values()
for (RolePolicy c : RolePolicy.values()) System.out.println(c);
public static RolePolicy 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 getValue()
public static RolePolicy getPolicy(String code)
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.