Is it possible to achieve user authentication at EJB
level?
All resources and tutorials I found say ho to do this in servlets (HttpServletRequest
)... My application is based on couple JSF pages and one servlet. All I want to do is to authenticate user via JSF page and remember authentication across all application until user logs out or close browser. Moreover I prefer to stick to "raw" Java EE
and not use any frameworks.
It seems to be still very unclear for me after I read many articles and question at stackoverflow.