org.jboss.test.securitymgr.interfaces
Interface Bad

All Superinterfaces:
EJBObject (src) , java.rmi.Remote

public interface Bad
extends EJBObject (src)

Test that a bean cannot access secured jboss internals


Method Summary
 java.lang.Object getCredential()
           
 java.security.Principal getPrincipal()
           
 void getSubject()
           
 void getSubjectCredentials()
           
 void popRunAsRole()
           
 void pushRunAsRole()
           
 void setCredential(char[] password)
           
 void setPrincipal(java.security.Principal user)
           
 void setSubject()
           
 
Methods inherited from interface javax.ejb.EJBObject (src)
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getPrincipal

public java.security.Principal getPrincipal()
                                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getCredential

public java.lang.Object getCredential()
                               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setPrincipal

public void setPrincipal(java.security.Principal user)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setCredential

public void setCredential(char[] password)
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getSubject

public void getSubject()
                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getSubjectCredentials

public void getSubjectCredentials()
                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setSubject

public void setSubject()
                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

popRunAsRole

public void popRunAsRole()
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

pushRunAsRole

public void pushRunAsRole()
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException