Class SecurityExpressionInterpreter


  • public class SecurityExpressionInterpreter
    extends Object
    The Security Expression Interpreter has the responsibility to interpret any form of security expression.
    • Constructor Detail

      • SecurityExpressionInterpreter

        public SecurityExpressionInterpreter()
    • 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 ELService as an Expression Language from the JSR 341.

        Parameters:
        securityExpression - the security expression.
        Returns:
        True if the security expression interpretation is secured.