On 18 Okt, Scott M Stark wrote:
> The problem is that JMS has no real notion of security. You can provide
> a username and password when obtaining a connection but this is
> the extent of JMS security. There is no defined mechanism for propagating
> the user identity as part of the message.
> 
> I think its rather poor myself. I would be inclined to add a security
> context filter to the JBoss MDB logic that allowed one to specify which
> message properties should be used in constructing the security context
> for a message delivered to an MDB. Totally non-portable, but the current
> state is useless for secured MDBs. This could be a simple extension of
> the current SecurityInterceptor that would be used for the MDB container
> and could be driven off of the jboss.xml section for MDBs.

That sounds as a good idea. 

If we could also ad some more security features to JBossMQ that would be
even better:

- Defining users and groups
- Setting up a security context for a destination (rw).

//Peter
> 
> xxxxxxxxxxxxxxxxxxxxxxxx
> Scott Stark
> Chief Technology Officer
> JBoss Group, LLC
> xxxxxxxxxxxxxxxxxxxxxxxx
> ----- Original Message -----
> From: "Dmitri Colebatch" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, October 18, 2001 12:24 AM
> Subject: [JBoss-user] mdb and security context
> 
> 
>> hey list,
>>
>> I've been spending the last few days looking at mechanisms for
>> asynchronous container invocations, and am now going to ask a question I
>> should have asked previously.
>>
>> Can someone give me a viewpoint on why the security context of a
>> invocation does not get propagated with a JMS call?  From what I know of
>> the container, it would be very doable, but if theres a good reason why
>> its not done, then it'd be stupid of me to try... or is it just that we're
>> talking about young things (JMS, MDB)?
>>
>> cheers
>> dim
>>
> 
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user

-- 
Jobba hos oss: http://www.tim.se/weblab
------------------------------------------------------------
Peter Antman             Technology in Media, Box 34105 100 26 Stockholm
Systems Architect        WWW: http://www.tim.se
Email: [EMAIL PROTECTED]        WWW: http://www.backsource.org
Phone: +46-(0)8-506 381 11 Mobile: 070-675 3942 
------------------------------------------------------------


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to