Basic security check for components. Tries to authorize the component and optionally its {@link ISecureModel} if it exists. Note that this check always authenticates the user, this isonly to make it easier to put a secure component on a non secure page and have it redirect to the login. Usually the secure page will have checked authentication already. Both {@link ISecureModel} and this check need to authenticate / authorize the user before an approvalis given.
@author marrink
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.