Launching & Custom Authentication

1 view
Skip to first unread message

Eric J. Hoffman

unread,
May 10, 2006, 11:58:24 PM5/10/06
to farcr...@googlegroups.com
Hello from a few new converts to FarCry...got an update at CfObjective()
about all the news here...

We are going to be launching out two national sites associated with the
gov and hoping it helps provide great exposure for this platform. We
have come over from Commonspot which ran the other sites to the loud
booing from those tasked to keep it up to date. So here we are.

I have one question: looking around....is there a prebuilt way to have
Farcry look to an existing users table....or has one been rolled to work
in it and we don't see it?

Any friendly pointers would be appreciated. We have begun the
development and hope to release these new sites by July...and will post
them here and some lessons learned if it helps this growing community!

Thanks again, and looking forward to being a member of the group!

Eric
--------------------------------------------------------


Eric J. Hoffman
Managing Partner
2081 Industrial Blvd
StillwaterMN55082
mail: ehof...@ejhassociates.com
www: http://www.ejhassociates.com
tel: 651.717.4105
fax: 651.717.4115
mob: 651.245.2717

--------------------------------------------------------

This message contains confidential information and is intended only for farcr...@googlegroups.com. If you are not farcr...@googlegroups.com you should not disseminate, distribute or copy this e-mail. Please notify ehof...@ejhassociates.com immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Eric J. Hoffman therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
--------------------------------------------------------

Williams, Matt

unread,
May 11, 2006, 8:31:56 AM5/11/06
to farcr...@googlegroups.com
Yes. I have a doc which I can post this evening detailing this (though it should probably make it's way to the Wiki). Basically, you need to create views that match the dmUser, dmGroup, and dmUsertoGroup tables on the database you wish to use. Next, you create a new client data store for Farcry to see, and off you go.

Matthew Williams

________________________________

winmail.dat

McGraw_WV

unread,
May 11, 2006, 1:38:04 PM5/11/06
to farcry-dev
I wrote some custom Authentication code that was very simple, Im sur
enot a very stanrd way of doing things, but basically just alter some
code to by pass typical authentication and check against my custom one,
then pasing back success.

The trick behind this method is you still had to ADD the user in
farcry, simply authentication was handled by the other system. So we
still controlled all permissions and groups related to farcry in
farcry, only basically used the password for authentication.

Williams, Matt

unread,
May 11, 2006, 9:54:09 PM5/11/06
to farcr...@googlegroups.com

Here’s a PDF that I created outlining setting this up.

 

Matthew Williams

 


External Authentication - MsSQL.pdf

Williams, Matt

unread,
May 11, 2006, 10:11:45 PM5/11/06
to farcr...@googlegroups.com

mod...@gmail.com

unread,
May 12, 2006, 1:23:58 AM5/12/06
to farcry-dev
Williams, Matt wrote:
> And now it's in the Wiki at
> http://docs.farcrycms.org:8080/confluence/display/FCDEV30/External+Authe
> ntication.

Fantastic stuff!

-- geoff
http://www.daemon.com.au/

Andrew Mercer

unread,
Aug 7, 2006, 1:17:22 AM8/7/06
to farcr...@googlegroups.com
does any one know if a table/view call dmProfile would be used by farcry in the same manner?

Andrew Mercer

unread,
Aug 7, 2006, 3:53:06 AM8/7/06
to farcr...@googlegroups.com
I have tweaked dmProfile.getProfile() so it will look for the user profile in an external client data source - see attached [farcry_core\packages\types\_dmProfile\getProfile.cfm].

Like the work that Matt has done, you can either create a view or table called dmProfile in your external database with columns that match the Farcry dmprofile columns.

You can add extra fields if you like - it just copies each field into a struct.
Not too sure, but you could probably loose a few fields with out causing any issues.
getProfile.cfm

Andrew Mercer

unread,
Aug 7, 2006, 4:19:40 AM8/7/06
to farcr...@googlegroups.com
please disregard previous attachment - I don't know how that one even worked :-|

new version attached. [farcry_core\packages\types\_dmProfile\getProfile.cfm]
getProfile.cfm
Reply all
Reply to author
Forward
0 new messages