I am trying to use authentication based on principals.xml
I am in an applet, and run the following:
env = new Hashtable();
env.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,
"com.evermind.server.ApplicationClientInitialContextFactory");
String purl = "ormi://" + getCodeBase().getHost() + "/cems-pm";
env.put(javax.naming.Context.PROVIDER_URL, purl);
context = new InitialContext(env);
Orion prompts with a login window. If I enter an incorrect user/pwd, I
catch a security exception. I re-run the same code assuming orion will
prompt again with login window. It does not, I catch a security
exception with invalid user/pwd, which is the original wrong entry.
Is this a bug, or am I supposed to reset something in my environment?
My context == null so I cannot work with it. I need to be able to
reprompt the user for correct user/pwd and get a correct context. Any
help is appreciated,
thanx Mike
--
##############################################################
Michael Weissman e-mail: [EMAIL PROTECTED]
Clarent Corporation 303-734-5003 Fax 303-734-4244
1221 W. Mineral Ave. Littleton, Co 80120
In the land of the dark, the ship of the sun is
drawn by the grateful dead -- Egyptian Book of the Dead
##############################################################