Authorization plug-in


Classes

class  IFmsAuthServerContext
 The interface to an asynchronous Authorization plug-in. The plug-in calls the methods on this class to initiate, cancel, or authorize asynchronous operations. The interface is subject to strict limited memory lifetime requirements, and pointers can be assumed to be valid only within the function call. The read and write buffers are an exception and are valid for the entire asynchronous operation. Strings are null-terminated and UTF-8 encoded. More...
class  IFmsAuthAdaptor
 The interface to a response object provided to the Authorization plug-in. The server calls the appropriate method upon receiving the event. More...

Functions

void FCExport FmsCreateAuthAdaptor (IFmsAuthServerContext *pAuthServerCtx, IFmsAuthAdaptor *&pAuthAdaptor)
void FCExport FmsDestroyAuthAdaptor (IFmsAuthAdaptor *pAuthAdaptor)

Detailed Description

An Authorization plug-in controls client access to the server.

When the server starts, it indexes all events listed in the Authorization plug-in. The Authorization plug-in examines events in the incoming connection requests. Some events require only that the server be notified. In these cases, the server continues operating, as authorization is not required. Other events require authorization before the server can deliver or publish the event.

Each event permits access to certain properties, which can be either read-only or read-write. These properties and events are listed in Flash Media Interactive Server Plug-in Developer Guide.

The server expects the following main entry points in the plug-in:


Function Documentation

void FCExport FmsCreateAuthAdaptor ( IFmsAuthServerContext pAuthServerCtx,
IFmsAuthAdaptor *&  pAuthAdaptor 
)

Called by the server to create an instance of the Authorization plug-in.

Parameters:
pAuthServerCtx A pointer to the IFmsServerContext object (see FmsAdaptor.h) that the plug-in can use to query configuration information, perform logging, and so on. This pointer is valid through the lifetime of the plug-in and can be stashed and used at any time.
pAuthAdaptor A pointer to an Authorization plug-in.

void FCExport FmsDestroyAuthAdaptor ( IFmsAuthAdaptor pAuthAdaptor  ) 

Called by the server to destroy a previously created instance of the Authorization plug-in.

Parameters:
pAuthAdaptor A pointer to an Authorization plug-in.

FMS Adaptors Footer

 

©2007 Adobe Systems Incorporated.  All Rights Reserved.