{
private static final Logger log = Logger.getLogger(AuthenticationInterceptorFactory.class);
public Object createPerClass(Advisor advisor)
{
Container container = EJBContainer.getEJBContainer(advisor);
AuthenticationManager manager = container.getSecurityManager(AuthenticationManager.class);
log.debug("Creating interceptor with authentication manager '" + manager + "'" + (manager != null ? " (security domain '" + manager.getSecurityDomain() + "')" : ""));
//return new Ejb3AuthenticationInterceptor(manager, container);
return new Ejb3AuthenticationInterceptorv2(container);
}