Packageorg.springextensions.actionscript.security
SVN browsingISecurityManager.as
FisheyeISecurityManager.as
Interfacepublic interface ISecurityManager extends IMembershipOwner, flash.events.IEventDispatcher
ImplementorsSimpleSecurityManagerFactory, SimpleStageSecurityManager

Describes an object that can restrict the access to a list of objects based on a list of role and right names contained in a given IMembershipOwner instance.

This interface extends the IMembershipOwner that way the roles and rights that are applicable to the objects that are being managed can be stored in the ISecurityManager.



Documentation reference: the simplesecuritystageprocessor class

Sample project: security (source)


Public Properties
 PropertyDefined by
  objects : Dictionary
A Dictionary of objects whose access is restricted by the current ISecurityManager.
ISecurityManager
 Inheritedrights : Array
An array of strings that represent the right names that are applicable to the current IMembershipOwner
IMembershipOwner
 Inheritedroles : Array
An array of strings that represent the role names that are applicable to the current IMembershipOwner
IMembershipOwner
Public Methods
 MethodDefined by
  
Determines whether the specified IMembershipOwner instance has access to the list of objects that the current ISecurityManager manages.
ISecurityManager
Property detail
objectsproperty
objects:Dictionary  [read-write]

A Dictionary of objects whose access is restricted by the current ISecurityManager.

Implementation
    public function get objects():Dictionary
    public function set objects(value:Dictionary):void
Method detail
checkMembership()method
public function checkMembership(owner:IMembershipOwner):Boolean

Determines whether the specified IMembershipOwner instance has access to the list of objects that the current ISecurityManager manages.

Parameters
owner:IMembershipOwner

Returns
Boolean