-
Notifications
You must be signed in to change notification settings - Fork 9
Use authentication
abogdanov37 edited this page Mar 9, 2017
·
3 revisions
If you want turn on authentication in Platypus application you should go through several steps.
- First of all. You should check ?authentication? option in project settings.
- Next step is define way to persist users and roles. For example you can use simple Tomcat way and persist users in xml file. But we use more complicate way we will persist users in database.
- We created 2 tables one for users one for roles.
- User's table will has two columns "name" and "pass". "name" column can contains only unique user names.
- Role's table will has 3 columns "id", "username", "role".
- In server.xml file you should uncomment section with name ..... Update table names and field names. Awesome. Now you can use authentication. To get additional information read following article