0
I have three java web(.War) projects with different contexts within the same EAR.
I need the user to authenticate in an application and then I traffic this information from it among the other projects.
Researching a little I found some well elaborated approaches as Single Sign On, but I do not know if it is necessary to use something so complex for this type of problem.
I would like your opinion on what approach to use.
Ambience: JSF applications using Javaee and Wildfly server
Since it will use in different projects, it would not be the case to save this information in a physical location, database for example?
– Geferson
I thought of an approach that would not involve bank dependency, like creating a @applicationscoped bean to control this, since it would be visible among all projects.
– hebertrfreitas
application scoped do not know if it is the best choice, it is very expensive processing and memory consumption. I have not had good experiences with this context. even more if you have many users connected.
– Geferson