• 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 internals

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic