Use IAuthenticatedSession interface at org.onexus.ui.authentication.jaas