[jboss-user] [Security & JAAS/JBoss] - Re: Check access to bean methods from bean

matt10 do-not-reply at jboss.com
Wed Aug 9 08:58:32 EDT 2006


cgriffith,

All my business beans do implement common methods as you describe.

InterfaceDef getIntfDef();
FunctionDef[] getFunctionDefs();

These methods inspect access and different types of functionality offered by the session bean that only the bean knows about and return the full set of metadata about this to the client. One type of FunctionDef (representing an item of functionality) represents a method call to the business bean but there are other types.

The client also takes further hint-style annotation from the remote interface and groups of session bean methods follow patterns the UI recognises such as CRUD functionality.

Regards
Matt

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964043#3964043

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964043



More information about the jboss-user mailing list