Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAAS internals

 
Alexander Petrov
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hei I am trying to create a sequence diagram. And would like to depict the communication between JSF and JAAS. There is very little online in this direction. I came across one of the posting on the javaranch forum, there are posted some sequence diagrams of JAAS, but never the relationship between JSF and JAAS is demonstrated. I read a bit online and check several stack traces.

If I follow the stack traces I have the feeling that the LoginContext is created as Part of the JSF lifecycle. Can we assume that both login on LoginCntext and create on LoginContext first pass through the FacesServlet and are happening as part of the JSF lifecycle?

The alternative is that this is happening somewhere in the Web container ? I dont see JAAS having own servlet registered in the web.xml so I kind of assume that this is happening possibly on container level.

I dont get it 100% how JAAS play together with JSF. I understand the whole JAAS flow of events, but dont get how it is executed together with the JSF part.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic