ServiceUnavailableException for NIS authentication using JNDI and JAAS 2004-07-18 - By Yaron Gvili
Back Hello, all.
I've managed to pinpoint the problem, and I'm posting the solution to those of you who are interested.
Since NIS uses RPC, it should be allowed to accept incoming packets. I used the following permission
grant codebase "file:./nis.jar" { permission java.net.SocketPermission "gate.math.tau.ac.il", "accept,connect,resolve"; };
It was not trivial to trace this problem because the exception is caught in some internal thread and not reported. One normally expects a misconfiguration of the security policy to appear as an exception.
Yaron.
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
|
|