|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.faces.security.FaceletsAuthorizeTagUtils
public abstract class FaceletsAuthorizeTagUtils
This class provides static methods that are registered as EL functions and available for use in Unified EL expressions in standard Facelets views.
Constructor Summary | |
---|---|
FaceletsAuthorizeTagUtils()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FaceletsAuthorizeTagUtils()
Method Detail |
---|
public static boolean areAllGranted(java.lang.String authorities) throws java.io.IOException
authorities
- a comma-separated list of user authorities.
java.io.IOException
public static boolean areAnyGranted(java.lang.String authorities) throws java.io.IOException
authorities
- a comma-separated list of user authorities.
java.io.IOException
public static boolean areNotGranted(java.lang.String authorities) throws java.io.IOException
authorities
- a comma-separated list of user authorities.
java.io.IOException
public static boolean isAllowed(java.lang.String url, java.lang.String method) throws java.io.IOException
java.io.IOException
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |