0 Replies Latest reply on Jan 16, 2015 6:49 AM by ganix

    Rest-Service using Security-Constraint fails to authenticate

    ganix Newbie



      we have a rest service deployed in a war file. Running on AS6 this service could be secured by setting a security-constraint in the web.xml and adding users.properties and roles.properties to webapp/WEB-INF directory.


      However, running on Wildfly 8.2, the service seems to ignore the credentials defined in these properties files, and returns 401 unauthorized.


      Now I am wondering what is the most simple way to implement a BASIC authentication in a webservice running on Wildfly?


      Thanks for any comments,