This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Access session from DatabaseServerLoginModule for jBoss 6?

 
Chris Whites
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am migrating an application from 4.2.3 to 6 and have extended DatbaseServerLoginModule.



In that code, I access the session using HttpServletRequest request = (HttpServletRequest) PolicyContext.getContext("javax.servlet.http.HttpServletRequest");



Under 4.2.3 it works fine, but under 6, it throws:

java.lang.IllegalArgumentException: unknown handler key

at javax.security.jacc.PolicyContext.getContext(PolicyContext.java:280)





Any help would be greatly appreciated
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic