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
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
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
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
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
://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
-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
://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
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
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
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
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
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*
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
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
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
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
[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
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
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
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
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
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
-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
: 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
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)
-
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
27 matches
Mail list logo