org.jboss.test.jca.securedejb
Interface CallerIdentity

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

public interface CallerIdentity
extends EJBObject (src)


Method Summary
 void useCallerForAuth()
          Access a DataSource that uses the method caller as the identity for creating a connection.
 void useConfiguredForAuth()
          Access a DataSource that uses the method caller as the identity for creating a connection.
 void useRunAsForAuthDS()
           
 void useRunAsForAuthFS()
           
 
Methods inherited from interface javax.ejb.EJBObject (src)
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

useCallerForAuth

public void useCallerForAuth()
                      throws java.rmi.RemoteException
Access a DataSource that uses the method caller as the identity for creating a connection. The caller must have the UseCallerForAuth and CallerIdentityUser roles.

Throws:
java.rmi.RemoteException

useConfiguredForAuth

public void useConfiguredForAuth()
                          throws java.rmi.RemoteException
Access a DataSource that uses the method caller as the identity for creating a connection. The caller must have the UseConfiguredForAuth and CallerIdentityUser roles.

Throws:
java.rmi.RemoteException

useRunAsForAuthDS

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

useRunAsForAuthFS

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