Class SecurityExpressionInterpreter
- java.lang.Object
-
- org.seedstack.seed.security.internal.securityexpr.SecurityExpressionInterpreter
-
public class SecurityExpressionInterpreter extends Object
The Security Expression Interpreter has the responsibility to interpret any form of security expression.
-
-
Constructor Summary
Constructors Constructor Description SecurityExpressionInterpreter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleaninterpret(Object securityExpression)This methods will interpret any security expression.
-
-
-
Method Detail
-
interpret
public Boolean interpret(Object securityExpression)
This methods will interpret any security expression. It will handle it accordingly in function of its type.For now, Boolean will be interpreted as Boolean and String will be interpreted by the
ELServiceas an Expression Language from the JSR 341.- Parameters:
securityExpression- the security expression.- Returns:
- True if the security expression interpretation is secured.
-
-