Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to disable authorization in hosted mode.

    Hi,

    Using: SmartGWT/OS X 10.6/Tomcat/Mozilla

    I have configured authorization for my web app, and set roles/login config and security-constraint in web.xml
    Corresponding changes are done in server-conf/tomcat-users.xml

    Now, on production it's asking for username/pwd and is working fine, but same web.xml is throwing error, when run in hosted mode using Jetty

    HTTP ERROR: 500
    No realm

    Is there any way to by-pass authorization while running in hosted mode.

    -Shoonya

    #2
    Hey Shoonya, did you find a solution to this problem ?

    thank you

    Comment


      #3
      Yes,

      I managed to enable authentication in jetty using attached jetty-web.xml file in my webapp/WEB-INF/jetty-web.xml
      Also, /etc/realm.properties was added with username/pwd.

      Hope this helps !

      Cheers
      Attached Files

      Comment


        #4
        helped a lot, thank you

        Comment

        Working...
        X