getProfile<http://docs.farcrycms.org/display/FCDEV50/Security+refactoring#Securityrefactoring-getProfile%28userid%29>in
your UD should return a struct containing any properties available
from
the UD.

On Wed, Nov 19, 2008 at 1:29 PM, AJ Mercer <[EMAIL PROTECTED]> wrote:

> I am looking for a point at append my own data to SESSION.dmProfile
>
>
> On Wed, Nov 19, 2008 at 11:22 AM, Blair McKenzie <[EMAIL PROTECTED]> wrote:
>
>> Are you talking about the authenticate() function? If you're using the
>> same login form for both user directories that would cause the issue. When
>> the login page is posted (or even just requested) the authenticate function
>> for every UD is called until one returns a definitive success or failure.
>>
>> Generally you shouldn't override the security.login() function to provide
>> functionality for a specific user directory.
>>
>> Blair
>>
>>
>> On Wed, Nov 19, 2008 at 12:59 PM, AJ Mercer <[EMAIL PROTECTED]> wrote:
>>
>>> worked around this issue buy putting a test around the custom code
>>>
>>>         <!--- do the farcry thing first --->
>>>         <cfset super.login( argumentcollection=ARGUMENTS) />
>>>
>>>         <cfif ARGUMENTS.UD EQ "CLIENTUD">
>>>
>>>
>>> But this wont help if I want custom login code in the other UD
>>>
>>>
>>> On Wed, Nov 19, 2008 at 10:49 AM, AJ Mercer <[EMAIL PROTECTED]> wrote:
>>>
>>>> I have two custom UDs
>>>> - LDAP for webtop login
>>>> - custom for site member login
>>>>
>>>> I have over written login() in the member UD
>>>> but now when I log into webtop (LDAP UD), the member login() is getting
>>>> called
>>>>
>>>> Adding login() to the LDAP UD doesn't help because of the member UD is
>>>> loaded after LDAP UD and therefore takes precedence
>>>>
>>>>
>>>> Hmmm, back to the drawing board for me
>>>>
>>>> --
>>>> AJ Mercer
>>>> Web Log: http://webonix.net
>>>>
>>>
>>>
>>>
>>> --
>>> AJ Mercer
>>> Web Log: http://webonix.net
>>>
>>>
>>> Once you come to the realisation that everyone is crazy,
>>> You will never be surprised or disappointed ever again.
>>> AJM 2008
>>>
>>>
>>>
>>>
>>
>>
>>
>
>
> --
> AJ Mercer
> Web Log: http://webonix.net
>
>
> Once you come to the realisation that everyone is crazy,
> You will never be surprised or disappointed ever again.
> AJM 2008
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to