Hello
Can you please illustrate the use of EJBContext in authorization?

Jerson

--- Evan Ireland <[EMAIL PROTECTED]> wrote:
> Jerson Chua wrote:
> >
> > Hello...
> > I know that instance level authentication is not provided in EJB 1.1. How does one
> > implement this type of authorization? What's the common practice?
>
> Use EJBContext.isCallerInRole, and attach role names to your data rows.
>
> > example scenario:
> > Is user1 allowed to view or edit account1 and account2?
> >
> > thanks in advance....
> >
> > Jerson
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Kick off your party with Yahoo! Invites.
> > http://invites.yahoo.com/
> >
> > ===========================================================================
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> > of the message "signoff EJB-INTEREST".  For general help, send email to
> > [EMAIL PROTECTED] and include in the body of the message "help".
>
> --
> ________________________________________________________________________________
>
> Evan Ireland              Sybase EAServer Engineering        [EMAIL PROTECTED]
>                             Wellington, New Zealand               +64 4 934-5856
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>


__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to