wood burning stoves 2.0
The moose likes Security and the fly likes Jaas configuration with tomcat6.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Jaas configuration with tomcat6.0" Watch "Jaas configuration with tomcat6.0" New topic

Jaas configuration with tomcat6.0

ansh watane

Joined: Nov 16, 2011
Posts: 4
Hi Rahul,
Same scinerio I have for Jaas.config configuration file.I have updated java.security file with "login.config.url.1=file:C:/SampleJaas Source/SimpleJAAS.config:.
I am usinf Tomcat6.0 server on Eclipse.I have implemented LoginModule,CallbackHander,principle and client class which has LoginContext code .
All these implemented classes are available in Web project/src.Now I have to execute my code thru Eclipse .But it couldn't find reference of jaas.config file.
Getting error "Security error creating LoginContext. Unable to locate a login configuration".
Is it possible to run sample code thru eclipse?
Do i have to statrt Tomcat server and configure anything there??

Please guide me .

I agree. Here's the link: http://aspose.com/file-tools
subject: Jaas configuration with tomcat6.0
It's not a secret anymore!