[jboss-user] [Security & JAAS/JBoss] - Using java client

ilya.berezovskiy do-not-reply at jboss.com
Mon Sep 18 10:21:40 EDT 2006


Hi!

Sorry for this simple question. I am a newer...
I have described LdapLoginModule in login-config and method-permissions in ejb-jar and security-domain in jboss, but always get an error 
...
Bad password for username=null 
(
javax.xml.rpc.soap.SOAPFaultException
java.rmi.AccessException
)
...
using java client.

I am tryin to use 

Stub stub = (Stub) endpoint;
stub._setProperty(Stub.USERNAME_PROPERTY, "log");
stub._setProperty(Stub.PASSWORD_PROPERTY,  "pwd");

but this is clearly not enought....

help, plz, I am stuck!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972325#3972325

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972325



More information about the jboss-user mailing list