| Package | org.springextensions.actionscript.security |
| SVN browsing | ISecurityManagerFactory.as |
| Fisheye | ISecurityManagerFactory.as |
| Interface | public interface ISecurityManagerFactory |
| Implementors | SimpleSecurityManagerFactory |
ISecurityManager instances for arbitrary objects.
| Property | Defined by | ||
|---|---|---|---|
| membershipOwner : IMembershipOwner
Typically an | ISecurityManagerFactory | ||
| Method | Defined by | ||
|---|---|---|---|
|
createInstance(object:Object):ISecurityManager
Creates a new
ISecurityManager for the specified object when possible,
returns the newly created instance or null. | ISecurityManagerFactory | ||
|
hasAccess(objectId:String):Boolean
Returns
true if the current membershipOwner has access to the object with the specifed id. | ISecurityManagerFactory | ||
| membershipOwner | property |
membershipOwner:IMembershipOwner [read-write]
IMembershipOwner instance that will be monitored and whose changes will be used to
let the ISecurityManagers evaluate access to the objects they manage.
Typically an ISecurityManagerFactory will call the checkMembership() method
on each ISecurityManager it created when this property changes.
public function get membershipOwner():IMembershipOwner
public function set membershipOwner(value:IMembershipOwner):void
See also
| createInstance | () | method |
public function createInstance(object:Object):ISecurityManager
Creates a new ISecurityManager for the specified object when possible,
returns the newly created instance or null.
object:Object — The specified object for which an ISecurityManager might be created.
|
ISecurityManager —
A new ISecurityManager instance or null.
|
| hasAccess | () | method |
public function hasAccess(objectId:String):Boolean
Returns true if the current membershipOwner has access to the object with the specifed id.
objectId:String — The id of the object.
|
Boolean — true if the current membershipOwner has access.
|