Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

...