• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Security and Transactions within @PrePassivate & @PostActivate

 
Omar Al Kababji
Ranch Hand
Posts: 357
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am sure that @PostCreate and @PreDestroy callbacks are invoked in an unspecified transaction and security context, I was wondering if its the same case for @PrePassivate and @PostActivate ??

Normally @PostCreate and @PostActivate are used to annotate the same method, and the same is for @PreDestory and @PrePassivate. so I would say yes they are same, could anyone confirm it please.

Thanks.
 
Omar Al Kababji
Ranch Hand
Posts: 357
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok never mind I got the answer ... its as I supposed.

@PrePassivate @PostActivate run in an undefined transacation and security context.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic