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
@author Jonathan Locke
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
@author Jonathan Locke
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.