SecurityContext.java |
/* * JBoss, the OpenSource J2EE webOS * * Distributable under LGPL license. * See terms of license at gnu.org. */ package org.jboss.test.security.interfaces; import java.util.Set; import java.rmi.RemoteException; import javax.ejb.EJBObject; /** * @author Scott.Stark@jboss.org * @version $Revision: 1.1 $ */ public interface SecurityContext extends EJBObject { /** * Test that a secured ejb can * @param expectedRoles */ public void testDomainInteraction(Set expectedRoles) throws RemoteException; public void nestedInteraction(SecurityContext caller, Set expectedRoles) throws RemoteException; }
SecurityContext.java |