public enum ShiroConstraint extends Enum<ShiroConstraint>
Enum Constant and Description |
---|
HasPermission |
HasRole |
IsAuthenticated |
LoggedIn |
Modifier and Type | Method and Description |
---|---|
static ShiroConstraint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShiroConstraint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShiroConstraint HasRole
public static final ShiroConstraint HasPermission
public static final ShiroConstraint IsAuthenticated
public static final ShiroConstraint LoggedIn
public static ShiroConstraint[] values()
for (ShiroConstraint c : ShiroConstraint.values()) System.out.println(c);
public static ShiroConstraint 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 © 2015. All rights reserved.