Class TagLibConfig
- java.lang.Object
-
- org.springframework.security.taglibs.TagLibConfig
-
public final class TagLibConfig extends java.lang.Object
internal configuration class for taglibs. Not for public use.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
evalOrSkip(boolean authorized)
Returns EVAL_BODY_INCLUDE if the authorized flag is true or UI security has been disabled.static java.lang.String
getSecuredUiPrefix()
static java.lang.String
getSecuredUiSuffix()
static boolean
isUiSecurityDisabled()
-
-
-
Method Detail
-
evalOrSkip
public static int evalOrSkip(boolean authorized)
Returns EVAL_BODY_INCLUDE if the authorized flag is true or UI security has been disabled. Otherwise returns SKIP_BODY.- Parameters:
authorized
- whether the user is authorized to see the content or not
-
isUiSecurityDisabled
public static boolean isUiSecurityDisabled()
-
getSecuredUiPrefix
public static java.lang.String getSecuredUiPrefix()
-
getSecuredUiSuffix
public static java.lang.String getSecuredUiSuffix()
-
-