John,

Have you have associated this userDirectory to the new security context
through the CF administrator.

Sometimes I find it easier to test the Security piece by working directly
with <cfauthenticate>.  Create a test page that runs the following...

<cfauthenticate securitycontext="test" username="AValidUserName"
password="TheCorrectPassword" setcookie="No">

This will allow you to tweak with the security settings and get instant
results...  I will warn you that the error messages returned by SiteMinder
are not very intuitive...

Ben


-----Original Message-----
From: John Haigh [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 10, 2000 3:52 PM
To: Spectra-Talk
Subject: Login problem due to Security Context and User Directory with
Spectra


Having a login problem with Spectra, here is what is happening:

When I create a new security context called test with a new user directory
(MS SQL database with same table structure as the default user directory
called userDirectory) called test. The userdirectory also has a entry in
SmDsQuery.ini called [test] with the same sql statements as userDirectory.

I setup the application framework in application.cfm,

Initialize the application

<cfset request.userDirectory="optikkrbrdev">

cfa_secure

        <cfa_secure
                username = "#username#"
                password = "#password#"
                dataSource="#contentobjectdb#"
                securityContext = "test"
                authenticationURL =
"/allaire/spectra/handlers/optikkr/optikkr_loginform.cfm"
                storageType="cookie"
                r_bResult = "loginSuccess"
                r_stUserProfile = "request.stUserProfile"

Created a test user, and the problem is when I login the user is not
authenticated and the login screen comes back again. When I replace the
userdirectory and security context with userDirectory and sc1 it works fine.
Now i would go with this method, but each client will have their own
userdirectory and security context, is this not possible?

This is with Allaire Spectra 1.01 and ColdFusion Application Server 4.5

Thanks for any help.

John Haigh

----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk
or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to