[jboss-user] Authentication with credentials and without for the same URL

2010-09-24 Thread Tim Terlegård
I would like JBoss AS to handle authentication, but I would like to handle the authorization programmatically. If a client passes username/password I would like JBoss to authenticate this request and pass the principal+roles to the servlet. If the client doesn't pass any credentials I would still

[jboss-user] Discovery of java.ws.rs.Path annotation in JBoss 6 M2

2010-04-07 Thread Tim Terlegård
What is needed in an app that uses JBoss 6 M2 to get annotation discovery working? I'm trying to create a really simple application. I just have an index.jsp and a class with a javax.ws.rs.Path annotation. Pointing the browser to /myapp/index.jsp works just fine, but pointing it o /myapp/foo does