org.objectweb.jonas.jtests.beans.secured
Class BaseCommon

java.lang.Object
  |
  +--org.objectweb.jonas.jtests.beans.secured.BaseCommon

public abstract class BaseCommon
extends java.lang.Object


Constructor Summary
BaseCommon()
           
 
Method Summary
 boolean callAnotherMethod()
          Access to a local interface of a bean we must catch access denied exception
 void complexMethod(java.util.Hashtable h, java.lang.Object[] o)
           
abstract  javax.ejb.EJBContext getEJBContext()
           
 java.lang.String getPrincipalName()
           
 java.lang.String getPrincipalNameOfAnotherBean()
           
 boolean isCallerInRole(java.lang.String role)
           
 void simpleMethod()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseCommon

public BaseCommon()
Method Detail

getEJBContext

public abstract javax.ejb.EJBContext getEJBContext()

getPrincipalName

public java.lang.String getPrincipalName()
                                  throws java.rmi.RemoteException

getPrincipalNameOfAnotherBean

public java.lang.String getPrincipalNameOfAnotherBean()
                                               throws java.rmi.RemoteException

callAnotherMethod

public boolean callAnotherMethod()
                          throws java.rmi.RemoteException
Access to a local interface of a bean we must catch access denied exception

isCallerInRole

public boolean isCallerInRole(java.lang.String role)
                       throws java.rmi.RemoteException

simpleMethod

public void simpleMethod()
                  throws java.rmi.RemoteException

complexMethod

public void complexMethod(java.util.Hashtable h,
                          java.lang.Object[] o)
                   throws java.rmi.RemoteException