Class PermissionEvaluatorImpl

  • All Implemented Interfaces:
    org.springframework.aop.framework.AopInfrastructureBean, org.springframework.security.access.PermissionEvaluator

    @Component
    public class PermissionEvaluatorImpl
    extends java.lang.Object
    implements org.springframework.security.access.PermissionEvaluator
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.slf4j.Logger LOG  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasPermission​(org.springframework.security.core.Authentication auth, java.io.Serializable targetId, java.lang.String targetType, java.lang.Object permission)  
      boolean hasPermission​(org.springframework.security.core.Authentication auth, java.lang.Object targetDomainObject, java.lang.Object permission)  
      • Methods inherited from class java.lang.Object

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

      • LOG

        protected final org.slf4j.Logger LOG
    • Constructor Detail

      • PermissionEvaluatorImpl

        public PermissionEvaluatorImpl()
    • Method Detail

      • hasPermission

        public boolean hasPermission​(org.springframework.security.core.Authentication auth,
                                     java.lang.Object targetDomainObject,
                                     java.lang.Object permission)
        Specified by:
        hasPermission in interface org.springframework.security.access.PermissionEvaluator
      • hasPermission

        public boolean hasPermission​(org.springframework.security.core.Authentication auth,
                                     java.io.Serializable targetId,
                                     java.lang.String targetType,
                                     java.lang.Object permission)
        Specified by:
        hasPermission in interface org.springframework.security.access.PermissionEvaluator