I'm trying to use HTTP authenitication when my WSDL is accessed. Authetication should only happen on user/pass and not on roles. During deploy time, I'm getting the following stacktrace in my JBoss 4.2.3:
I've looked into the source of the RoleBasedAuthorizationInterceptorFactory and on line 49, the following happens:
This could mean that the "securityAnnotation" variable, which is the SecurityDomain annotation of my web service, is not gathered.
These are my annotations in my web service class:
In the web.xml of my web app, I've configured the following:
My Jboss login-config.xml contains:
The props/jbossws-users.properties file exists.
I've also tried the approach given on http://jbossws.jboss.org/mediawiki/index.php?title=Authentication
, but without any result.
Tips, hints, etc. are very welcome!