public interface StateRoleProvider<A extends AppUser>
AppUserFactory
or its Composite
s that can permit access to a role.
This is intended for roles that rely on the object state.
Implementing classes should return false for any role they don't recogniseModifier and Type | Method and Description |
---|---|
boolean |
testRole(A user,
java.lang.String role) |
boolean testRole(A user, java.lang.String role)