Skip to content
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.
  1. 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.
  2. We created 2 tables one for users one for roles.
  3. User's table will has two columns "name" and "pass". "name" column can contains only unique user names.
  4. Role's table will has 3 columns "id", "username", "role".
  5. 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
Clone this wiki locally