SubjectSecurityProxyFactory.java |
/* * JBoss, the OpenSource EJB server * * Distributable under LGPL license. * See terms of license at gnu.org. */ package org.jboss.security; import java.io.Serializable; /** An implementation of SecurityProxyFactory that creates SubjectSecurityProxy objects to wrap the raw security proxy objects. @author Scott.Stark@jboss.org @version $Revision: 1.2.26.1 $ */ public class SubjectSecurityProxyFactory implements SecurityProxyFactory, Serializable { static final long serialVersionUID = -8679600309865839261L; public SecurityProxy create(Object proxyDelegate) { SecurityProxy proxy = new SubjectSecurityProxy(proxyDelegate); return proxy; } }
SubjectSecurityProxyFactory.java |