Search:

Type: Posts; User: Json

Search: Search took 0.11 seconds.

  1. Replies
    6
    Views
    2,172

    Re: Security in Server

    Yeah by adding a servlet in front of the XML file, there is no way of knowing what user logged in by XML.

    // Json
  2. Replies
    6
    Views
    2,172

    Re: Security in Server

    If you have access to the HttpServletRequest object which I assume you will, try this.


    request.getUserPrincipal().getName()

    // Json
  3. Replies
    6
    Views
    2,172

    Re: Security in Server

    Hello, I take it this is something you are trying to do in your web.xml file?

    Here is an example for you:

    You can see here that we define a constraint for the path /path/to/secure/pages/* which...
Results 1 to 3 of 3