- All Known Implementing Classes:
- AuthenticatedWebApplication, MyAuthenticatedWebApplication, UserRolesAuthorizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface IRoleCheckingStrategy
Strategy for doing role checking. Normally, an implementation of this strategy interface would
look in the current session for credentials that indicate what roles the current user can take
on, but any kind of strategy is possible. For example, you could have a role checking strategy
that allowed gave users the ADMIN role between 9AM and 5PM.
- Author:
- Eelco Hillenius, Jonathan Locke