I'm trying to secure a web service which is an EJB. I'm trying to accomplish
this by adding the following jboss.xml in the META-INF folder.
?xml version=1.0?
| !DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS 4.0//EN
http://www.jboss.org/j2ee/dtd/jboss_4_2.dtd;
| jboss
| security-domain /
I've managed to get this thing working in a very small dummy application but
this problem is still occuring in my companies application. It's a seam
application running on JBoss 4.2.3. Could seam somehow be causing this
nullpointer?
View the original post :
Forgot to tell you that this problem only occurs when I use this SecurityDomain
annotation.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4251098#4251098
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4251098
Sorry for spamming in my own post... I'm starting to doubt whether this is
possible. Check https://jira.jboss.org/jira/browse/SECURITY-38.
If my approach isn't possible, what approach should I go for (considering that
only the web service should be behind basic authentication)?
View the
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
|
Hi,
I'm trying to use basic HTTP authentication for my WSDL. The user credentials
should be validated by a (JAAS) LoginModule for Atlassian Crowd. Somehow the
deployment of my EAR file fails. The following stacktrace shows up in my logs:
| java.lang.NullPointerException
| at