public interface StateRoleProvider<A extends AppUser>
AppUserFactory or its Composites 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 recognise| Modifier and Type | Method and Description |
|---|---|
boolean |
testRole(A user,
java.lang.String role) |
boolean testRole(A user, java.lang.String role)