1 22 package org.jboss.test.securitymgr.interfaces; 23 24 import java.rmi.RemoteException ; 25 import java.security.Principal ; 26 import javax.ejb.EJBObject ; 27 28 32 public interface Bad extends EJBObject 33 { 34 public Principal getPrincipal() 35 throws RemoteException ; 36 public Object getCredential() 37 throws RemoteException ; 38 public void setPrincipal(Principal user) 39 throws RemoteException ; 40 public void setCredential(char[] password) 41 throws RemoteException ; 42 public void getSubject() 43 throws RemoteException ; 44 public void getSubjectCredentials() 45 throws RemoteException ; 46 public void setSubject() 47 throws RemoteException ; 48 public void popRunAsRole() 49 throws RemoteException ; 50 public void pushRunAsRole() 51 throws RemoteException ; 52 53 } 54 | Popular Tags |