0 Replies Latest reply on Mar 1, 2016 9:27 AM by gmgallo

    Secure rest service and pages access

    gmgallo

      Good day

       

      I'm starting a new project and I've got a couple of questions about security.

       

      I'm developing the front end only with html and javascript (with the usage of jquery) and the backend in java, with the usage of wildfly10 and mongoldb. I need to protect rest services (only authenticated users who has a certain role can call them) and check if an authenticated user can view a page or not.

      I'm totally stuck because I can't find a full example on internet...I found partial solutions regarding valve or realm but I can't understand how to use them.

       

      Any help?

       

      Thanks in advance