Unfortunately, Identity is an *abstract* class. So the compiler doesn't
like new Identity(...).
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]] On Behalf Of Jian Lin
Sent: Friday, September 24, 1999 7:42 AM
To: [EMAIL PROTECTED]
Subject: Re: How do construct an Identity for isCallerInRole()?
According to Section 14.2 of the EJB 1.0 Spec, you should be able to do
Identity roleIdentity = new Identity("roleName");
This is not vendor-specific.
-Jian
[EMAIL PROTECTED] on 09/23/99 05:45:28 PM
Per 1.0 spec, EJBContext.isCallerInRole() takes an Identity as a parameter.
Identity is an abstract class. JDK1.17B.
Is this something that is vendor specific? OK, then, <vender>how do I it
with WebLogic?</vender>
===========================================================================
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".
===========================================================================
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".