This content has been marked as final. Show 2 replies
I want to migrate an application from Glassfish to JBoss AS7, the app
uses a programmatic login via Servlet 3.0 Specification. The login
gets its data from a database, so it uses the JNDIRealm to fetch the
user data. Unfortunately I didn't find any up-to-date tutorial or
blog via Google to do this in JBoss AS 7 (I found tutorials for JBoss <7,
but that doesn't help me, though).
The login works via:
HttpServletRequest.login(username, password) and
JSF pages use HttpServletRequest.isUserInRole('employee')
Where can I look to find a tutorial?