This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Spring and the fly likes integration of JAAS with Spring Hibernate and Struts 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Spring
Bookmark "integration of JAAS with Spring Hibernate and Struts 2" Watch "integration of JAAS with Spring Hibernate and Struts 2" New topic
Author

integration of JAAS with Spring Hibernate and Struts 2

Arnab Mandal
Greenhorn

Joined: Apr 04, 2012
Posts: 1
I am trying to implement JAAS as a pluggable interface with Spring Hibernate and Struts 2.
I have a callbackHandler and a RDBMSLoginmodule which deals with the JAAS part. While the code traverse to Hibernate method to interact with the database, the spring getHibernateTemplate() is returning null value.
I think I am missing out something in spring config files. Please help me in locating where I am missing out.
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1682
    
    7

You have not provided nearly enough information to help you. We need to see your configuration the piece of code throwing the exception and the stack trace.


[How To Ask Questions][Read before you PM me]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: integration of JAAS with Spring Hibernate and Struts 2
 
It's not a secret anymore!