1 package org.jbpm.security.authenticator; 2 3 import org.jboss.security.SecurityAssociation; 4 5 /** 6 * retrieves the actorId as the name of the principal from the SecurityAssociation. 7 */ 8 public class JBossAuthenticator implements Authenticator { 9 10 public String getAuthenticatedActorId() { 11 return SecurityAssociation.getPrincipal().getName(); 12 } 13 } 14