Authz check(boolean result)

Issue: gh-5016
This commit is contained in:
Rob Winch 2018-02-12 14:45:02 -06:00
parent 1ad57adccc
commit ca5fb78ee1
1 changed files with 5 additions and 0 deletions

View File

@ -25,6 +25,11 @@ import org.springframework.stereotype.Component;
*/
@Component
public class Authz {
public boolean check(boolean result) {
return result;
}
public boolean check(long id) {
return id % 2 == 0;
}