Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jaas configuration with tomcat6.0  RSS feed

ansh watane
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rahul,
Same scinerio I have for Jaas.config configuration file.I have updated 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 .

Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!