Just a guess but, it may be desirable to start a transaction before security
is checked to handle the case where the security information is held a
database. This way if the rights of a user changes during a transaction, the
transaction is rolled back.

Dain Sundstrom

> -----Original Message-----
> From: Justin Forder [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 10, 2000 6:57 PM
> To: EJBoss
> Subject: jBoss 2.0: Order of interceptors
> 
> 
> The jBoss 2.0 EJB Container Documentation shows an incoming request
> being handled first by a Container invoker, then by a Log interceptor,
> then by a Tx interceptor, next by a Security interceptor (and so on).
> 
> Shouldn't Security be handled before Transactions? If access 
> is denied,
> there is no point doing anything to do with transactions.
> 
> -- 
> Justin Forder
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]
> 


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to