I try to make our own authentication with 2 authentication pages:
- 1-st page: Username, Password;
- 2-nd page: Extra parameters depends on the user.
Also I would like our Tomcat to be independent of Application Server (JBoss) on different machines.
To do that using JAAS we see that there are 2 possibilities:
1. Using TextInputCallback;
2. Pluggable Authentication Module (PAM).
Can you tell me can I do that using JBoss, or JBoss doesn't implement these technologies?
Can you give me some solutions and examples?