...
A custom implantation of RoleValidator can specified in the security section of the nexaweb-reference-framework.xml.
Code Block |
---|
<security> <!-- Whether or not security is enable --> <enabled>true</enabled> <!-- xal file to use as login page --> <loginPage>XAL/login/Login.xal</loginPage> <!-- custom role validator --> <roleValidator>com.mycompany.security.impleCustomRoleValidator</roleValidator> </security> |
This will instantiate the specified class and set it as the roleValidator.
...