when a user is authenticated with jaas a subject is created. how do i store the subject in the container of the web application and how can i use it later in another jsp page ?
I have no experience on Tomcat JAAS Realm. If you already have your JAAS framework implemented. You can configure tomcat Realm to use org.apache.catalina.realm.JAASRealm with your associated JAAS classes as parameters. Here is an example I've found.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.