My subject deals with the use of the Authentication service (viewed in the javadoc with the authenticate(String login, String password) method) as a service of the 4 identity modules : UserModule, RoleModule, MembershipModule, UserProfileModule.
The deal is to authenticate a user on the Jboss portal from a outside web application (deployed in war on JBoss AS 42) to set identity information in Jboss cluster : SSO, cluster replication, ...