Is there a Java authentication API in JBoss? I'm creating a custom LoginPortlet using Tapestry and would like to authenticate the user from a Java class.
I have disected the UserPortlet and see it routes a request through JAAS to a maximized portlet. But I'd like to enable a "login in place" behavior and I am in a Java class rather than authenticating through URL trigger.
In WebLogic Portal this would be Authenticate.login(username, password), and Authenticate.logout(). Is there any such API in JBoss?