java.lang.Object
au.edu.educationau.belts.mock.MockBELTSContext
- All Implemented Interfaces:
- au.edu.educationau.belts.container.BELTSContext
- public class MockBELTSContext
- extends java.lang.Object
- implements au.edu.educationau.belts.container.BELTSContext
This class...
- Version:
- $Revision: 1.6 $ - $Date: 2003/02/28 06:43:06 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_mockPrincipal
public MockPrincipal _mockPrincipal
_callerInRole
public boolean _callerInRole
MockBELTSContext
public MockBELTSContext()
- Constructor for MockBELTSContext.
getCallerPrincipal
public java.security.Principal getCallerPrincipal()
- Description copied from interface:
au.edu.educationau.belts.container.BELTSContext
- Get the principal associated with the current call. This may be null if the
call is not being called from a secured context.
- Specified by:
getCallerPrincipal in interface au.edu.educationau.belts.container.BELTSContext
get
public java.lang.Object get(java.lang.Object arg0)
throws ContextException
isCallerInRole
public boolean isCallerInRole(java.lang.String role)
- Specified by:
isCallerInRole in interface au.edu.educationau.belts.container.BELTSContext