User Authentication
PIWI allows you to protect your pages against unauthorized access.You could limit access for every page to certain user roles.
The allowed roles are specified within the file 'site.xml' in the following way:
roles="?"or no attributeroles:
Every user may see this page.roles="*":
The page may be visited only by authenticated users, regardless of which role he has.roles="Role1, Role2":
The page may be visited only by authenticated users, if they are at least in one of the given roles.
If the login is successful, he will be redirected to the protected page afterwards.
Sample
The following page can only be accessed, if you login successfully.Please use 'test' as username and password.
Protected page