-
Accessing JAAS login module from SessionBean (3 messages)
- Posted by: ashutosh kumar
- Posted on: May 22 2004 03:35 EDT
I am trying to access a login module from session bean , its not getting loginmodule class though its kept in same package it say unable to find login module, while from java application class I am able to access and authenticate.what can be the reason.Threaded Messages (3)
- Accessing JAAS login module from SessionBean by Bhagvan K on May 22 2004 22:47 EDT
- Accessing JAAS login module from SessionBean by Rashmi Tambe on June 08 2004 03:15 EDT
- Accessing JAAS login module from SessionBean by christoph nagl on June 14 2004 07:45 EDT
-
Accessing JAAS login module from SessionBean[ Go to top ]
- Posted by: Bhagvan K
- Posted on: May 22 2004 22:47 EDT
- in response to ashutosh kumar
hi,
You may be getting this problem when you are trying to instantiate the login context. I hope you have taken care of all the java command line options to be configured while starting up the application server.
http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/tutorials/GeneralAcnOnly.html
Bhagvan K
http://www.architectcorner.com -
Accessing JAAS login module from SessionBean[ Go to top ]
- Posted by: Rashmi Tambe
- Posted on: June 08 2004 03:15 EDT
- in response to ashutosh kumar
Did u set "java.security.auth.login.config" property as a command line parameter in server start up script? this property should point to the name of the login config file that contain login module names. -
Accessing JAAS login module from SessionBean[ Go to top ]
- Posted by: christoph nagl
- Posted on: June 14 2004 07:45 EDT
- in response to Rashmi Tambe
hi,
what's the name auf the startup file, where i had to config my own config file.
i want to insert this row into the startup file. i inserted in start_oc4j.bat. but that is not the correct file!!!
-Djava.security.auth.login.config=demo.conf
yours, christoph