• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jaas configuration with tomcat6.0

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 .

Thanks.
reply
    Bookmark Topic Watch Topic
  • New Topic