Please Help Me !!!!!!
inquizitive Dec 24, 2002 9:47 AMHi all ,
I really hope i will get a reply this time i have been struggling with this for quite some time
My application uses a JTree to help ease the navigation through the whole application.
The problem i am facing is that , it is authenticating the users present in the LDAP Server. But when it is trying to
initialize the applet it is asking once again for the username and password (saying enter the network password!!!!!). There even if i give junk values it accepts ... even if i don't give any values it makes no difference. I have to click
on that login pop up at least 10 times , then it allows me to enter the application, else the left side JTree Applet doesn't show up at all.
Because of this my application is not getting authenticated. It is saying the principal is null ... see the Exception,
java.lang.SecurityException: Authentication exception, principal=
at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:173)
at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:94)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:129)
at org.jboss.ejb.StatelessSessionContainer.invokeHome(StatelessSessionContainer.java:300)
at org.jboss.ejb.Container.invoke(Container.java:730)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:77)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80)
at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:198)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
One possible explanation that i got is that it is trying to get all the jars needed by the applet from the server ,
hence is trying to authenticate each time. Is there any way to avoid this??
Why is it trying to authenticate the applet in the first place.Since i have already defined all the permissions for the applet in the Policy file.
I hope i have been clear in explaining my problem to you. Please let me know
If there is some other configuration i need to do.
Wish You a Merry Chirstmas
Thank You
Dhiraj Ramakrishnan