Authentication (attribute of restrict)
The "authentication" attribute is used inside the <allow> element to specify the type of authentication method to be used against visitors.
Possible values are "basic" which is used to add Basic Access Authentication, commonly used to add security to JRapid WebForms.
<restrict authentication="basic" />
- Adding Basic Access Authentication to all the HTML pages in the project:
<config> <restrict authentication="basic"> <allow privilege="ADMIN" /> <user name="your_username" password="your_password" privileges="ADMIN" /> </restrict> </config>