Lavanya gop

Greenhorn
+ Follow
since Dec 17, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Lavanya gop

Hi
I am using Jdk1.3 and weblogic 6.1
1.I am creating new LoginContext("Test").javax.security.auth.login.LoginContext;
I have a class SecurityConfiguration subclassed from Configuration class.
I have made an entry for SecurityConfiguration line in java.security file as login.configuration.provider=com.webct.platform.framework.security.authentication.SecurityConfiguration
I have jaas.jar in jdk131/jre/lib/ext directory
When I create new LoginContext("Test") from a standalone application, it does work fine, it picks up the Configuration information from SecurityConfiguration file.
But the following error occurs, when I access through a jsp, which calls an ActionServlet, which inturn calls .java files, which
tries to create new LoginContext("Test").
java.lang.SecurityException: unable to instantiate LoginConfiguration
at javax.security.auth.login.Configuration.getConfiguration(Configuration.java:212)
at javax.security.auth.login.LoginContext$1.run(LoginContext.java:166)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.init(LoginContext.java:163)
at javax.security.auth.login.LoginContext.<init>(LoginContext.java:223)
at com.webct.platform.framework.security.authentication.AuthenticationLogic.getLoginContext(AuthenticationLogic.
java:41)
Any help is highly appreciated
Thanks in advance
Lavanya
20 years ago