Authentication (attribute of restrict)

From JRapid

Jump to: navigation, search

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.

Usage

 <restrict authentication="basic" />

Example

  • 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> 

See also

Personal tools