Hi,
I'm not sure if this is relates to your problem but I had a problem which reported the same symptoms.
I notice you are also using a custom JAAS context. The solution to my problem required setting the JAAS context explicitly using the method this.setProperty in my custom realm class init(Properties) method.
Here's the code I used:
@Override
protected void init(Properties props) throws BadRealmException,
NoSuchRealmException {
String jaasCtx = props.getProperty(IASRealm.JAAS_CONTEXT_PARAM);
this.setProperty(IASRealm.JAAS_CONTEXT_PARAM, jaasCtx);
if (jaasCtx == null) {
String msg = sm.getString("<my realm name>.badconfig", jaasCtx);
throw new BadRealmException(msg);
}
}
Hope this helps!
Cheers,
Philip.
[Message sent by forum member 'fipple' (fipple)]
http://forums.java.net/jive/thread.jspa?messageID=259433