Hi
I have taken the book example from "java web services - up and running" by martin kalin. In chapter 6 he has "mcs with https" example. I changed the auth from CLIENT_CERT to BASIC. I modified the client to supply username and passwd.
prov.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, "obama");
prov.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, "secret");
This user and his group are created using the Glassfish 2.1.1 admin console , in the "file realm".
When I run the client , I get the following errors. I did some googling but dont know why I am getting the errors. Any insights ?
SEC1110: JAAS context requested from certificate realm. Configuration error is likely.
SEC5046: Audit: Authentication refused for [obama]
Web login failed: Login failed: javax.security.auth.login.LoginException: Invalid null input: name
Thanks in advance.
[Message sent by forum member 'glassfishdiet']
http://forums.java.net/jive/thread.jspa?messageID=395317