Sure, that would work fine.  In Shiro's source distribution, there are a few
sample apps - one of them uses a Hibernate-based Realm implementation - you
could use that as an example.

Cheers,

Les

On Wed, Jun 23, 2010 at 9:00 AM, Pierce Wetter <[email protected]> wrote:

>
> On Jun 23, 2010, at 7:36 AM, barmstrong wrote:
>
> >
> > Howdy,
> >
> > I need to choose the best Realm type for an application that uses JDO for
> > database persistence.  I want to load the realm in shiro.ini but want the
> > realm to be able to respond to changes concerning users. (Want the realm
> to
> > be able to talk to the database, via JDO calls to controllers
> > (MyClassTypeController.java.)
> >
> > Should I just extend AuthorizingRealm?
>
>  That's what I did.
>

Reply via email to