Using UserCredential accessor methods
Your implementation of IEventAuthority will typically use the following public assessor methods of com.apama.dashboard.security.UserCredentials:
public String getUsername() 
public String getPassword() 
public Subject getSubject()