|
|
|
@ -80,6 +80,10 @@ public class AuthorizeTagCustomGrantedAuthorityTests extends TestCase { |
|
|
|
private static class CustomGrantedAuthority implements GrantedAuthority { |
|
|
|
private static class CustomGrantedAuthority implements GrantedAuthority { |
|
|
|
private final String authority; |
|
|
|
private final String authority; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int compareTo(Object o) { |
|
|
|
|
|
|
|
return 0; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public CustomGrantedAuthority(String authority) { |
|
|
|
public CustomGrantedAuthority(String authority) { |
|
|
|
this.authority = authority; |
|
|
|
this.authority = authority; |
|
|
|
} |
|
|
|
} |
|
|
|
|