Class Authorization


  • public final class Authorization
    extends Object
    Author:
    Daniel Fernández
    • Constructor Summary

      Constructors 
      Constructor Description
      Authorization​(org.thymeleaf.context.IExpressionContext context, org.springframework.security.core.Authentication authentication)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean expr​(String expression)  
      boolean expression​(String expression)  
      org.springframework.security.core.Authentication getAuthentication()  
      org.thymeleaf.context.IExpressionContext getContext()  
      boolean url​(String url)  
      boolean url​(String method, String url)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Authorization

        public Authorization​(org.thymeleaf.context.IExpressionContext context,
                             org.springframework.security.core.Authentication authentication)
    • Method Detail

      • getContext

        public org.thymeleaf.context.IExpressionContext getContext()
      • getAuthentication

        public org.springframework.security.core.Authentication getAuthentication()
      • expr

        public boolean expr​(String expression)
      • expression

        public boolean expression​(String expression)
      • url

        public boolean url​(String url)
      • url

        public boolean url​(String method,
                           String url)