| Package | org.springextensions.actionscript.security |
| SVN browsing | ISecurityManager.as |
| Fisheye | ISecurityManager.as |
| Interface | public interface ISecurityManager extends IMembershipOwner, flash.events.IEventDispatcher |
| Implementors | SimpleSecurityManagerFactory, 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.
| Property | Defined by | ||
|---|---|---|---|
| objects : Dictionary
A Dictionary of objects whose access is restricted by the current
ISecurityManager. | ISecurityManager | ||
![]() | rights : Array
An array of strings that represent the right names that are applicable to the current
IMembershipOwner
| IMembershipOwner | |
![]() | roles : Array
An array of strings that represent the role names that are applicable to the current
IMembershipOwner
| IMembershipOwner | |
| Method | Defined by | ||
|---|---|---|---|
|
checkMembership(owner:IMembershipOwner):Boolean
Determines whether the specified
IMembershipOwner instance has access to the list of objects that
the current ISecurityManager manages. | ISecurityManager | ||
| objects | property |
objects:Dictionary [read-write]
A Dictionary of objects whose access is restricted by the current ISecurityManager.
public function get objects():Dictionary
public function set objects(value:Dictionary):void
| 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.
owner:IMembershipOwner |
Boolean |