You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by barmstrong <ba...@triactive.com> on 2010/06/23 16:36:35 UTC

Best Realm Flavor for JDO

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?

-thanks so much
-Brian
-- 
View this message in context: http://shiro-user.582556.n2.nabble.com/Best-Realm-Flavor-for-JDO-tp5213535p5213535.html
Sent from the Shiro User mailing list archive at Nabble.com.

Re: Best Realm Flavor for JDO

Posted by barmstrong <ba...@triactive.com>.
Works great thanks. And nice cache API, only 4 lines of code to get caching
up. :)
-- 
View this message in context: http://shiro-user.582556.n2.nabble.com/Best-Realm-Flavor-for-JDO-tp5213535p5236497.html
Sent from the Shiro User mailing list archive at Nabble.com.

Re: Best Realm Flavor for JDO

Posted by Les Hazlewood <lh...@apache.org>.
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 <pi...@paceap.com> 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.
>

Re: Best Realm Flavor for JDO

Posted by Pierce Wetter <pi...@paceap.com>.
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.