Sorry, I forgot to attach the stacktrace.
Hello,
I want to force the user to enter a username/password when using the
application. When the application creates a new InitialContext, Orion
prompts for a username/password. However, if the user enters an
incorrect password, Orion correctly throws a Security exception. When
the application attempts the process again, Orion does not prompt for a
username/password but immediately throws a SecurityException. Is this a
bug?
On a related note, after obtaining an InitialContext, if the application
closes it, and then tries to create another InitialContext, it gets a
NPE. Is this related to the problem described above?
Here's the stacktrace:
java.lang.NullPointerException:
at
com.evermind.server.rmi.RMIInitialContextFactory.getInitialContext(JAX)
at
com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(JAX)
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:668)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
at javax.naming.InitialContext.init(InitialContext.java:222)
at javax.naming.InitialContext.<init>(InitialContext.java:198)
at com.epistemic.km.KMClient.getContext(KMClient.java:70)
Thanks,
Vidur