As you may know, Macromedia removed Advanced Security from ColdFusion MX (yea!). In its place is a new system called Roles-Based security. However, advanced security was not completely removed. If you try to write a UDF with the same name as one of the old functions, like isAuthenticated, you will get the following error:
Function isAuthenticated is not supported in ColdFusion MX.
It looks like Macromedia didn't remove the old functions, but instead left special 'hooks' for them to really make it clear that they were removed. This is... well... a bit silly. I've already opened a bug report on this and hopefully it will be fixed in the next release. Another function name you may try to use: isAuthorized. This will be blocked as well.
Archived Comments
Hi Camden,
have a question for you. I have recently migrated from CF5 to MX and Spectra 1.5.2. My CF 5 application uses Site Minder (Advanced Secuirty) to connect to an LDAP Server.
I have four security contexts and 4 user directories. So access to the site is restricted and only users having proper permissions can login to the site.
Now then, when it came to migrating to MX and Spectra, I first updated to Spectra 1.5.2 on CF5 from Spectra 1.5.1. Tested the site, and it all worked without any errors.
Updated to MX on IIS. Ran the webtop, the spectra configuration wizard opened up, was prompted to enter the User Directory username and password for the 4 user directories. Clicked on next and then completed the process, could login to the webtop, all worked fine.
Later on I realised that I entered a wrong password for one of the user directories. When I tried login in to the site with a username under that user directory, it failed. What I now want to know is if it is possible in CFMX to edit the user directory details?
I''ll appreciate your help.
Best Regards,
Allan