admin api login error handling

2008-10-28 Thread Dana Kowalski
I've never really used the admin api until today. I'm having a problem catching a bad login. I tried wrapping the instantiation/login in a try catch, but it seems to be ignoring the catch. Is there any easy way to catch a bad admin api login? I'm not seeing anything in the docs or examples I've

Re: admin api login error handling

2008-10-28 Thread Wil Genovese
Kowalski [EMAIL PROTECTED]wrote: I've never really used the admin api until today. I'm having a problem catching a bad login. I tried wrapping the instantiation/login in a try catch, but it seems to be ignoring the catch. Is there any easy way to catch a bad admin api login? I'm not seeing

Re: admin api login error handling

2008-10-28 Thread C S
I've never really used the admin api until today. I'm having a problem catching a bad login. I tried wrapping the instantiation/login in a try catch, but it seems to be ignoring the catch. Is there any easy way to catch a bad admin api login? I'm not seeing anything in the docs

Re: admin api login error handling

2008-10-28 Thread Dana Kowalski
Thanks fellas. That was pretty silly. I didn't think hard enough about it I guess haha. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Admin API

2008-02-09 Thread Jim McAtee
Does the Admin API exist in CF8 or has it be replaced by something else? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w

Re: Admin API

2008-02-09 Thread Brian Rinaldi
://www.adobe.com/communities/experts/members/brian_rinaldi.html On Sat, Feb 9, 2008 at 1:06 PM, Jim McAtee [EMAIL PROTECTED] wrote: Does the Admin API exist in CF8 or has it be replaced by something else? ~| Adobe® ColdFusion® 8

Re: Admin API

2008-02-09 Thread Jim McAtee
-Talk cf-talk@houseoffusion.com Sent: Saturday, February 09, 2008 1:11 PM Subject: Re: Admin API It exists. I use it on my Illudium Code Generator which works the same on both 7 and 8. -- Brian Rinaldi blog - http://www.remotesynthesis.com/blog ColdFusion Open Source List- http

Re: Admin API

2008-02-09 Thread James Holmes
://livedocs.adobe.com/coldfusion/7/htmldocs/1734.htm - Original Message - From: Brian Rinaldi [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Saturday, February 09, 2008 1:11 PM Subject: Re: Admin API It exists. I use it on my Illudium Code Generator which works

CF admin api security..

2006-11-14 Thread D F
Hi there, I'm trying to access the getDisabledCFTags method of the CF admin api secutity cfc. The method requires a directory to be specified to get the permissions. But as this is the standard version of CFMX 7 there does not appear to be anything available to add these. The thing

RE: CF admin api security..

2006-11-14 Thread Snake
Try the path to the cfadmin -Original Message- From: D F [mailto:[EMAIL PROTECTED] Sent: 14 November 2006 20:31 To: CF-Talk Subject: CF admin api security.. Hi there, I'm trying to access the getDisabledCFTags method of the CF admin api secutity cfc. The method requires a directory

Re: CF admin api security..

2006-11-14 Thread Jon Clausen
You'll need to have sandbox security on but this should work once you do (Otherwise you'll get a sandbox not found error): cfscript //Set our sandbox directory sandbox = expandPath(/); //Instantiate the Admin API createObject(component,cfide.adminapi.administrator).login

Re: CF admin api security..

2006-11-14 Thread Jon Clausen
On Nov 14, 2006, at 6:23 PM, Jon Clausen wrote: You'll need to have sandbox security on but this should work once you do (Otherwise you'll get a sandbox not found error): cfscript //Set our sandbox directory sandbox = expandPath(/); //Instantiate the Admin API createObject(component

CF7 admin api

2005-09-20 Thread zhou yu
hi I am working on the setSecuritySandbox method of security.cfc in CFAdmin API. It takes an array of stucture which define the sandbox security rules. An complete example as following (by dump a sandbox) 1 struct ACTION[empty string] CLASSjava.io.SerializablePermission TARGET*

Re: CF7 admin api

2005-09-20 Thread Andy Allan
What specifically are you trying to do? I just created a new sandbox and restricted the CFObject tag using the following code: !--- Connect to the Admin API and log in --- cfset adminObj = createObject(component,cfide.adminapi.administrator).login(password) / !--- If logged in --- cfif adminObj

Re: CF7 admin api

2005-09-20 Thread Andy Allan
This got trimmed the first time (I think). What specifically are you trying to do? I just created a new sandbox and restricted the CFObject tag using the following code: !--- Connect to the Admin API and log in --- cfset adminObj = createObject(component,cfide.adminapi.administrator).login

Re: CF7 admin api

2005-09-20 Thread Ryan Guill
the following code: !--- Connect to the Admin API and log in --- cfset adminObj = createObject(component,cfide.adminapi.administrator).login(password) / !--- If logged in --- cfif adminObj !--- Connect to the security CFC --- cfset myObj = createObject(component

Re: CF7 admin api

2005-09-20 Thread Ryan Guill
On 9/20/05, Ryan Guill [EMAIL PROTECTED] wrote: Hey Andy, Refresh my memory, im going blank this morning. When you say put it through getMetaData(), whats the syntax for that? Thanks, Please disregard that, im *really* out of it this morning... /goes to get more coffee/ -- Ryan

Re: CF7 admin api

2005-09-20 Thread Andy Allan
[EMAIL PROTECTED] wrote: What specifically are you trying to do? I just created a new sandbox and restricted the CFObject tag using the following code: !--- Connect to the Admin API and log in --- cfset adminObj = createObject(component,cfide.adminapi.administrator).login(password

Re: CF7 admin api

2005-09-20 Thread Andy Allan
Please disregard that, im *really* out of it this morning... /goes to get more coffee/ :) -- [EMAIL PROTECTED] www.creative-restraint.co.uk www.scottishcfug.com ~| Logware (www.logware.us): a new and convenient web-based

Admin API

2005-04-19 Thread Sam Smith
Hello all, I've been reading through the Admin API for a little while now and it seems that the function that I'm looking isn't exposed through it. What I'm looking for is this. My boss asked me to create an app that would clear the template cache of all our 17 CFMX 7 servers at once. I thought I

Re: Admin API

2005-04-19 Thread Jared Rypka-Hauer - CMG, LLC
Ooh, Sam... I'd love to help, which is why I opened this thread first. Now I find myself asking you to let us know if you find the answer! Sorry! But... A+ for Best Question. J On 4/19/05, Sam Smith [EMAIL PROTECTED] wrote: Hello all, I've been reading through the Admin API for a little

Re: Admin API

2005-04-19 Thread Adrocknaphobia
I don't belive there is a way to do this from the admin API. Although its certainly a simple process of deleting the files from the cfclasses directory. So you could feasibly write a method using cffile to clear the directory. However if your 17 instance are on multiple servers you would need

Re: Admin API

2005-04-19 Thread Sean Corfield
Sam also asked me offlist and my suggestion was to try using the Admin API to set the template cache size to zero and then back to the usual size (you can use getCacheProperty() / setCacheProperty()). Don't know if it would work but it seems worth a try. The same API also lets you turn trusted

RE: Admin API

2005-04-19 Thread Sam Smith
-Talk Subject: Re: Admin API Sam also asked me offlist and my suggestion was to try using the Admin API to set the template cache size to zero and then back to the usual size (you can use getCacheProperty() / setCacheProperty()). Don't know if it would work but it seems worth a try. The same API also

Re: Admin API

2005-04-19 Thread Bryan Stevenson
: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com - Original Message - From: Sam Smith [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, April 19, 2005 3:32 PM Subject: RE: Admin API Ok, well I tried Sean's sugguestion (Thank

Re: Admin API

2005-04-19 Thread Sean Corfield
On 4/19/05, Sam Smith [EMAIL PROTECTED] wrote: Ok, well I tried Sean's sugguestion (Thank You Sean) but I'm missing something. The error I'm getting is Variable TEMPLATECACHESIZE is undefined on the cfset for CacheBefore. It's a STRING not a variable! Try: getCacheProperty(TemplateCacheSize)

RE: Admin API

2005-04-19 Thread Mike Nimer
- From: Sam Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 19, 2005 2:54 PM To: CF-Talk Subject: Admin API Hello all, I've been reading through the Admin API for a little while now and it seems that the function that I'm looking isn't exposed through it. What I'm looking for is this. My