Here are some thoughts on extending security and such. I wrote a simple CFC to allow users to use a CAS (Central Authentication System) at a University. To fully integrate into the security system in FarCry, I wrote in the following functions:
getLoginForm authenticate getUserGroups getGroupUsers getProfile getAllGroups Note that this was done extending farcry.core.packages.security.UserDirectory which doesn't quite seem like what you were doing? However, it might shed a light on where to start looking maybe. Tomek On Thu, Jul 16, 2009 at 12:31 AM, Marco van den Oever < [email protected]> wrote: > > Shoot me, tried it, didn't saw the light. > > On Jul 16, 4:46 am, AJ Mercer <[email protected]> wrote: > > I have written my own plugin so clients that log in can be authenticated > by > > a third party system > > and this is working well. > > > > What I would like to do now is have the ability (for some accounts - like > > mine) to have Farcry groups (sysAdmin) associated with it. > > > > So I knocked off > > <cfproperty name="lGroups" type="longchar" default="" > > hint="The groups this member is a member of (list > > generated automatically)" > > ftLabel="Groups" ftType="arrayList" > > ftArrayField="aGroups" ftJoin="farGroup" /> > > from farUser.cfc and put it into my type class > > > > <cfproperty ftSeq="110" ftFieldset="Security" > > ftWizardStep="Login" name="lGroups" > > type="longchar" hint="group membership" > > required="no" default="" > > ftLabel="Groups" ftType="arrayList" > > ftArrayField="aGroups" ftJoin="farGroup" /> > > > > I have delpoyed the new field to the datase. > > > > Updatedapp (and bounced CF) > > > > In the webtop when editiy a client record, I see the 'Security' field set > > label > > but there is no field (or field label) > > > > Any ideas what I am doing wrong here? > > > > -- > > AJ Mercer > > Web Log:http://webonix.net > > > --~--~---------~--~----~------------~-------~--~----~ You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry -~----------~----~----~----~------~----~------~--~---
