org.ow2.easybeans.examples.security
Interface StatelessRemote

All Known Implementing Classes:
StatelessBean

public interface StatelessRemote

Remote interface of the Stateless Bean.

Author:
Florent Benoit

Method Summary
 void allRolesAllowed()
          Method can be called by all security roles.
 void callRunAsBean()
          Make a call on a run-as bean which call our bean after that..
 void deniedForAll()
          No role can invoke this method.
 void onlyAdminAllowed()
          Only "admin" role can invoke this method.
 void printCurrentCaller()
          Prints the current caller.
 void someRolesAllowed()
          Method can be called by some roles.
 

Method Detail

someRolesAllowed

void someRolesAllowed()
Method can be called by some roles.


allRolesAllowed

void allRolesAllowed()
Method can be called by all security roles.


onlyAdminAllowed

void onlyAdminAllowed()
Only "admin" role can invoke this method.


deniedForAll

void deniedForAll()
No role can invoke this method.


printCurrentCaller

void printCurrentCaller()
Prints the current caller.


callRunAsBean

void callRunAsBean()
Make a call on a run-as bean which call our bean after that..



Copyright © 2006-2008 OW2 Consortium. All Rights Reserved.