public abstract class FaceletsAuthorizeTagUtils
extends java.lang.Object
| Constructor and Description |
|---|
FaceletsAuthorizeTagUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
areAllGranted(java.lang.String authorities)
Returns true if the user has all of of the given authorities.
|
static boolean |
areAnyGranted(java.lang.String authorities)
Returns true if the user has any of the given authorities.
|
static boolean |
areNotGranted(java.lang.String authorities)
Returns true if the user does not have any of the given authorities.
|
static boolean |
isAllowed(java.lang.String url,
java.lang.String method)
Returns true if the user is allowed to access the given URL and HTTP method combination.
|
public static boolean areAllGranted(java.lang.String authorities)
throws java.io.IOException
authorities - a comma-separated list of user authorities.java.io.IOExceptionpublic static boolean areAnyGranted(java.lang.String authorities)
throws java.io.IOException
authorities - a comma-separated list of user authorities.java.io.IOExceptionpublic static boolean areNotGranted(java.lang.String authorities)
throws java.io.IOException
authorities - a comma-separated list of user authorities.java.io.IOExceptionpublic static boolean isAllowed(java.lang.String url,
java.lang.String method)
throws java.io.IOException
java.io.IOException