Well, coming from a member of the Apache HiveMind PMC, that's confusing. On Thu, Sep 18, 2008 at 2:30 PM, Hoover, William <[EMAIL PROTECTED]> wrote: > Yeah, really :) the param name in the register method is for the hive > key is "queen"... hmmm... I wonder if any exceptions refer to you > getting stung > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of James Carman > Sent: Thursday, September 18, 2008 2:24 PM > To: [email protected] > Subject: Re: Turning off SWARM for testing? > > Way to poach a name! :) > > On Thu, Sep 18, 2008 at 2:17 PM, Hoover, William <[EMAIL PROTECTED]> > wrote: >> Yes, the same org.apache.wicket.security.hive.HiveMind used to >> HiveMind.registerHive(getHiveKey(), factory) the factory in >> SwarmWebApplication#setUpHive() >> >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] >> On Behalf Of James Carman >> Sent: Thursday, September 18, 2008 2:07 PM >> To: [email protected] >> Subject: Re: Turning off SWARM for testing? >> >> HiveMind? >> >> On Thu, Sep 18, 2008 at 2:03 PM, Hoover, William <[EMAIL PROTECTED]> >> wrote: >>> Try HiveMind.unregisterHive(hiveKey); >>> >>> -----Original Message----- >>> From: Igor Vaynberg [mailto:[EMAIL PROTECTED] >>> Sent: Thursday, September 18, 2008 1:56 PM >>> To: [email protected] >>> Subject: Re: Turning off SWARM for testing? >>> >>> sorry, i dont know anything about swarm itself. maybe during test you > >>> override setuphive() and give it a policy that allows everything and >>> does not require a login. >>> >>> -igor >>> >>> On Thu, Sep 18, 2008 at 10:45 AM, Neil McT >>> <[EMAIL PROTECTED]> >>> wrote: >>>> >>>> Sorry not sure what you mean by 'swarm auth strategy' >>>> >>>> My application class extends SwarmWebApplication and the only SWARM >>>> specific methods it overrides are getHiveKey() and setUpHive() - >>>> where >>> >>>> I add the policy file. Is it one of these that I should be 'nulling >>> out' for testing? >>>> >>>> Thanks. >>>> >>>> >>>> >>>> >>>> igor.vaynberg wrote: >>>>> >>>>> have an overrideable method on your application boolean >>>>> issecurityenabled(), and only add swarm auth strategy if it returns > >>>>> true. that way during tests you can give tester a subclass of your >>>>> app that returns false. >>>>> >>>>> -igor >>>>> >>>>> >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/Turning-off-SWARM-for-testing--tp19557765p1955 >>>> 8 >>>> 1 53.html Sent from the Wicket - User mailing list archive at >>>> Nabble.com. >>>> >>>> >>>> -------------------------------------------------------------------- >>>> - To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
