| Package | org.servebox.toolbox.acl |
| Class | public class ACLGrid |
| Inheritance | ACLGrid BasicObject |
| Property | Defined by | ||
|---|---|---|---|
| application : AccessControlApplication | ACLGrid | ||
| entries : ArrayCollection | ACLGrid | ||
![]() | internalInstanceId : uint
The internal instance id of the object.
| BasicObject | |
| user : AccessRequestUser | ACLGrid | ||
| Property | Defined by | ||
|---|---|---|---|
| logger : ILogger [static]
The class logger.
| ACLGrid | ||
| Method | Defined by | ||
|---|---|---|---|
|
ACLGrid()
Constructor
if No ACLMANAGER where specified set a default manager
| ACLGrid | ||
|
addAcoElementsTodTmpAco(arAco:Array):void
Add the queue of finded ACO elements To sssssthe Temp DictionnaryTable
| ACLGrid | ||
| ACLGrid | |||
|
convertDirectiveToBoolean(directive:String):Boolean
Convert ALLOW Directive to true
Convert DENY Directive to false
| ACLGrid | ||
![]() |
equals(value:IBasicObject):Boolean
Object comparison mechanism.
| BasicObject | |
|
Find ACLEntry in _entries concerning Current ACO and his ancestors
| ACLGrid | ||
|
findAcoUidInArray(acoUid:String, arrayToSearch:ArrayCollection, criteria:String = "getUid"):Boolean
Search a AcoUid in a Array of ACO
| ACLGrid | ||
| ACLGrid | |||
| ACLGrid | |||
| ACLGrid | |||
|
getAcoRecurs(aco:AccessControlObject, accessControlObjectUid:String, arAcoFound:Array):Array
Starting from an ACO, try to find his parent ACOGroup or/And AccessControlApplication
| ACLGrid | ||
![]() |
getInstanceId():uint
Generates a unique unsigned integer id at instanciation
| BasicObject | |
|
getParentsACOsForACO(accessControlObjectUid:String):Array
Créer une tableau temporaire des ACO filtré sur la resource ACO concernée
| ACLGrid | ||
![]() |
hashCode():int
Returns the hashcode of the object.
| BasicObject | |
|
isAllowed(accessControlObjectUid:String, action:String):Boolean
check if the given ACO acces is allowed form the given ACTION
| ACLGrid | ||
|
Merges the internal ACL credentials grid with another.
| ACLGrid | ||
|
parseSubACLGrid(aclGrid:ACLGrid, action:String):Boolean
Resolve acl on a specific ACLGrid for a given ACO, resolve priority between GROUP and USER
TO DO: Gerer les diférente CONFLICT_RESOLVING_POLICY : INTERSECTION AND UNION
| ACLGrid | ||
|
resolveAction(entryAction:String, askedAction:String):Boolean
| ACLGrid | ||
|
setAccessControlApplication(application:AccessControlApplication):void
| ACLGrid | ||
|
setACLManager(aclManager:ACLManager):void
| ACLGrid | ||
|
setRequestAccessUser(user:AccessRequestUser):void
| ACLGrid | ||
![]() |
toString():String
Returns the string representation of the specified object.
| BasicObject | |
| application | property |
application:AccessControlApplication [read-write]Implementation
public function get application():AccessControlApplication
public function set application(value:AccessControlApplication):void
| entries | property |
entries:ArrayCollection [read-write]Implementation
public function get entries():ArrayCollection
public function set entries(value:ArrayCollection):void
| logger | property |
protected static var logger:ILoggerThe class logger.
| user | property |
user:AccessRequestUser [read-write]Implementation
public function get user():AccessRequestUser
public function set user(value:AccessRequestUser):void
| ACLGrid | () | constructor |
public function ACLGrid()Constructor if No ACLMANAGER where specified set a default manager
| addAcoElementsTodTmpAco | () | method |
public function addAcoElementsTodTmpAco(arAco:Array):voidAdd the queue of finded ACO elements To sssssthe Temp DictionnaryTable
ParametersarAco:Array |
| addEntry | () | method |
| convertDirectiveToBoolean | () | method |
public function convertDirectiveToBoolean(directive:String):BooleanConvert ALLOW Directive to true Convert DENY Directive to false
Parametersdirective:String |
Boolean |
| extractSubACLGrid | () | method |
public function extractSubACLGrid():ACLGridFind ACLEntry in _entries concerning Current ACO and his ancestors
ReturnsACLGrid |
| findAcoUidInArray | () | method |
public function findAcoUidInArray(acoUid:String, arrayToSearch:ArrayCollection, criteria:String = "getUid"):BooleanSearch a AcoUid in a Array of ACO
ParametersacoUid:String |
|
arrayToSearch:ArrayCollection |
|
criteria:String (default = "getUid") |
Boolean |
| getAccesControlApplication | () | method |
public function getAccesControlApplication():AccessControlApplication
Returns
AccessControlApplication |
| getAccessRequestUser | () | method |
| getACLManager | () | method |
| getAcoRecurs | () | method |
public function getAcoRecurs(aco:AccessControlObject, accessControlObjectUid:String, arAcoFound:Array):ArrayStarting from an ACO, try to find his parent ACOGroup or/And AccessControlApplication
Parametersaco:AccessControlObject |
|
accessControlObjectUid:String |
|
arAcoFound:Array |
Array |
| getParentsACOsForACO | () | method |
public function getParentsACOsForACO(accessControlObjectUid:String):ArrayCréer une tableau temporaire des ACO filtré sur la resource ACO concernée
ParametersaccessControlObjectUid:String |
Array |
| isAllowed | () | method |
public function isAllowed(accessControlObjectUid:String, action:String):Booleancheck if the given ACO acces is allowed form the given ACTION
ParametersaccessControlObjectUid:String |
|
action:String |
Boolean |
| merge | () | method |
public function merge(grid:ACLGrid):voidMerges the internal ACL credentials grid with another. in fact merge entries from the first grid with the second
Parametersgrid:ACLGrid — TO DO
|
| parseSubACLGrid | () | method |
public function parseSubACLGrid(aclGrid:ACLGrid, action:String):BooleanResolve acl on a specific ACLGrid for a given ACO, resolve priority between GROUP and USER TO DO: Gerer les diférente CONFLICT_RESOLVING_POLICY : INTERSECTION AND UNION
ParametersaclGrid:ACLGrid |
|
action:String |
Boolean |
| resolveAction | () | method |
public function resolveAction(entryAction:String, askedAction:String):BooleanParameters
entryAction:String |
|
askedAction:String |
Boolean |
| setAccessControlApplication | () | method |
public function setAccessControlApplication(application:AccessControlApplication):voidParameters
application:AccessControlApplication |
| setACLManager | () | method |
| setRequestAccessUser | () | method |