4 changed files with 37 additions and 2 deletions
@ -0,0 +1,19 @@
@@ -0,0 +1,19 @@
|
||||
package org.springframework.security.config.method; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
import org.springframework.security.access.PermissionEvaluator; |
||||
import org.springframework.security.core.Authentication; |
||||
|
||||
public class TestPermissionEvaluator implements PermissionEvaluator { |
||||
|
||||
public boolean hasPermission(Authentication authentication, Object targetDomainObject, Object permission) { |
||||
return false; |
||||
} |
||||
|
||||
public boolean hasPermission(Authentication authentication, Serializable targetId, String targetType, |
||||
Object permission) { |
||||
return false; |
||||
} |
||||
|
||||
} |
||||
Loading…
Reference in new issue