Re: Using isis shiro with Jdbc realm

2013-10-19 Thread james agada
Yes in Shiro.ini or inside your custom jdbcrealm. Sent from my iPhone > On Oct 19, 2013, at 12:57 PM, Dan Haywood > wrote: > > oh, ok. > > Where does one override these, do you know? Somewhere in shiro.ini, > perhaps? > > > > >> On 19 October 2013 12:54, Jeroen van der Wal wrote: >> >> There'

Re: Using isis shiro with Jdbc realm

2013-10-19 Thread Dan Haywood
oh, ok. Where does one override these, do you know? Somewhere in shiro.ini, perhaps? On 19 October 2013 12:54, Jeroen van der Wal wrote: > There's no need to reverse-engineer the Shiro datamodel, JdbcRealm [1] uses > four queries which can easily be overridden: > > DEFAULT_AUTHENTICATION_QU

Re: Using isis shiro with Jdbc realm

2013-10-19 Thread Jeroen van der Wal
There's no need to reverse-engineer the Shiro datamodel, JdbcRealm [1] uses four queries which can easily be overridden: DEFAULT_AUTHENTICATION_QUERY = "select password from users where username = ?"; DEFAULT_SALTED_AUTHENTICATION_QUERY = "select password, password_salt from users where username =

Re: Using isis shiro with Jdbc realm

2013-10-19 Thread james agada
Ok. Let's see how it goes. Sent from my iPhone > On Oct 19, 2013, at 12:28 PM, Dan Haywood > wrote: > > For help with configuring Shiro to run against a JDBC realm, I suggest you > go to the shiro users mailing list. Isis just uses the shiro.ini file "as > is", so whatever is configured there

Re: Using isis shiro with Jdbc realm

2013-10-19 Thread Dan Haywood
For help with configuring Shiro to run against a JDBC realm, I suggest you go to the shiro users mailing list. Isis just uses the shiro.ini file "as is", so whatever is configured there should be honoured by Isis. Once you've got Shiro using a JDBC realm, ie reading from database tables, then you

Re: Using isis shiro with Jdbc realm

2013-10-18 Thread james agada
I guess I need help. I can build a custom shire jdbcRealm class. I have identified where the isis shiro ldaprealm class is located. So I assume I will put the jdbcrealm there. Next I suppose is to configure shiro.ini to use the jdbcRealm. This should work except that I will need to configure the da

Re: Using isis shiro with Jdbc realm

2013-10-18 Thread Okwui
I will try and see how it goes. Sent from my iPad > On Oct 18, 2013, at 12:26 PM, Jeroen van der Wal wrote: > > We haven't gone that route yet but it should be possible. > > FYI we've configured Shiro to use Microsoft Active Directory for > authentication and authorization. > > Cheers, > > J

Re: Using isis shiro with Jdbc realm

2013-10-18 Thread Jeroen van der Wal
We haven't gone that route yet but it should be possible. FYI we've configured Shiro to use Microsoft Active Directory for authentication and authorization. Cheers, Jeroen On Fri, Oct 18, 2013 at 1:15 PM, Okwui wrote: > The default isis shiro setup uses the shiro.ini file. From the shiro > d

Using isis shiro with Jdbc realm

2013-10-18 Thread Okwui
The default isis shiro setup uses the shiro.ini file. From the shiro documentation, I can also use a jdbc realm so that the information is stored in a database. Is this possible in isis? Can I point shiro to use the isis objectstore? Sent from my iPad