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: [DISCUSSION] should Isis drop JDK 1.6 support?

2013-10-19 Thread Dan Haywood
I've done some further (rather lengthy) investigation into this, documented in ISIS-568 [1]. The long-and-short of it is that moving to JDK 7 also requires upgrading to ASM 4.x and cglib 3.x... this impacts our a) wrapper factory b) isis-core-bytecode-cglib module (n/a if using JDO) c) our unit te

Re: Error building from source

2013-10-19 Thread Dan Haywood
ok, I've now fixed this test in the codebase (under ISIS-437) On 15 October 2013 16:57, james agada wrote: > Thanks. > > > On Mon, Oct 14, 2013 at 8:52 AM, Jeroen van der Wal >wrote: > > > There was a typo in the command. It should be: mvn clean install > > -DskipTests (note the capital T) >