What servlet container are you using?  We use Tomcat and we've never had to
do anything special to get CAS to work without a database.    Those
annotations will just be ignored if you don't do anything with them.
They're only hints for the transaction managers in Spring, if its
configured.


On Fri, Jul 31, 2009 at 9:47 AM, jleleu <jerome.le...@sfr.com> wrote:

> Hello,
>
> I'm using CAS server with the component CentralAuthenticationServiceImpl.
> All my granting / service tickets are not managed in a databse but in a
> distributed ehcache (in memory).
> Each method in CentralAuthenticationServiceImpl is annotated with
> @Transactional and I see begin / commit transactions in my logs even if I'm
> not storing tickets in database.
> I have created my own transaction manager which does not nothing and
> ignores the @Transactional annotation to avoid begin / commit transactions.
>
> Is there a way to use CentralAuthenticationServiceImpl and tickets not in
> database in a more elegant way ?
>
> Thanks for your help.
> Jerome
>
> --
> You are currently subscribed to cas-dev@lists.jasig.org as:
> scott.battag...@gmail.com
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>

-- 
You are currently subscribed to cas-dev@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to