[jboss-user] [Security JAAS/JBoss] - Re: Basic HTTP authentication for WSDL (using JAAS LoginModu

2009-08-19 Thread Wolfgang Knauf
H...
Unfortunately, I never tried to secure a web service, I used it only for 
servlets/JSPs.

For those, I would add a jboss-web.xml to my app:

?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE jboss-web PUBLIC
  | -//JBoss//DTD Web Application 4.2//EN
  | http://www.jboss.org/j2ee/dtd/jboss-web_4_2.dtd;
  | 
  | jboss-web
  | security-domainjava:/jaas/mydomain/security-domain
  | context-root...context-root
  | 
  | /jboss-web
  | 

Maybe you could give this one a try?

Wolfgang

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250382#4250382

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250382
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Re: Basic HTTP authentication for WSDL (using JAAS LoginModu

2009-08-18 Thread Wolfgang Knauf
Hi,

which JBoss version do you use?

In JBoss 4.2, the @SecurityDomain annotation was in package 
org.jboss.annotation.security, while for 5.0, it is in 
org.jboss.ejb3.annotation. Does your source code compile against the correct 
jboss version and import the correct packages?

Hope this helps

Wolfgang

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250070#4250070

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250070
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Re: Basic HTTP authentication for WSDL (using JAAS LoginModu

2009-08-18 Thread TimStorms
Thanks for your reply Wolfgang. I'm using JBoss 4.2.3. In our seam application, 
we use the following jboss dependency:

  | dependency
  | groupIdorg.jboss.embedded/groupId
  | artifactIdjboss-embedded/artifactId
  | versionbeta3/version
  | typepom/type
  | /dependency
  | 
And yes, we do use the org.jboss.annotation.security package for the 
SecurityDomain annotation. Any other ideas?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250112#4250112

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250112
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user