Element index for namespace Security
[
a ]
[
d ]
[
f ]
[
g ]
[
h ]
[
i ]
[
n ]
[
p ]
[
r ]
[
s ]
[
u ]
[
_ ]
top
top
d
- deny
- in file Permission.php, method NPermission::deny()
Adds a "deny" rule to the list. A rule is added that would deny one or more Roles access to [certain $privileges upon] the specified Resource(s).
- DENY
- in file IAuthorizator.php, class constant IAuthorizator::DENY
NPermission type: deny
top
top
g
- getData
- in file Identity.php, method NIdentity::getData()
Returns a user data.
- getName
- in file IIdentity.php, method IIdentity::getName()
Returns the name of user.
- getName
- in file Identity.php, method NIdentity::getName()
Returns the name of user.
- getQueriedResource
- in file Permission.php, method NPermission::getQueriedResource()
Returns real currently queried Resource. Use by IPermissionAssertion::asert().
- getQueriedRole
- in file Permission.php, method NPermission::getQueriedRole()
Returns real currently queried Role. Use by IPermissionAssertion::asert().
- getResourceId
- in file IResource.php, method IResource::getResourceId()
Returns a string identifier of the Resource.
- getRoleId
- in file IRole.php, method IRole::getRoleId()
Returns a string identifier of the Role.
- getRoleParents
- in file Permission.php, method NPermission::getRoleParents()
Returns an array of an existing Role's parents.
- getRoles
- in file IIdentity.php, method IIdentity::getRoles()
Returns a list of roles that the user is a member of.
- getRoles
- in file Identity.php, method NIdentity::getRoles()
Returns a list of roles that the user is a member of.
top
top
i
- IAuthenticator
- in file IAuthenticator.php, class IAuthenticator
Performs authentication.
- IAuthorizator
- in file IAuthorizator.php, class IAuthorizator
Authorizator checks if a given role has authorization to access a given resource.
- IDENTITY_NOT_FOUND
- in file IAuthenticator.php, class constant IAuthenticator::IDENTITY_NOT_FOUND
Exception error code
- IIdentity
- in file IIdentity.php, class IIdentity
Represents the user of application.
- INVALID_CREDENTIAL
- in file IAuthenticator.php, class constant IAuthenticator::INVALID_CREDENTIAL
Exception error code
- IPermissionAssertion
- in file IPermissionAssertion.php, class IPermissionAssertion
Represents conditional ACL NRules with Assertions.
- IResource
- in file IResource.php, class IResource
Represents resource, an object to which access is controlled.
- IRole
- in file IRole.php, class IRole
Represents role, an object that may request access to an IResource.
- isAllowed
- in file Permission.php, method NPermission::isAllowed()
Returns TRUE if and only if the Role has access to the Resource.
- isAllowed
- in file IAuthorizator.php, method IAuthorizator::isAllowed()
Performs a role-based authorization.
- IAuthenticator.php
- procedural page IAuthenticator.php
- IAuthorizator.php
- procedural page IAuthorizator.php
- Identity.php
- procedural page Identity.php
- IIdentity.php
- procedural page IIdentity.php
- IPermissionAssertion.php
- procedural page IPermissionAssertion.php
- IResource.php
- procedural page IResource.php
- IRole.php
- procedural page IRole.php
top
n
- NAuthenticationException
- in file AuthenticationException.php, class NAuthenticationException
Authentication exception.
- NIdentity
- in file Identity.php, class NIdentity
Default implementation of IIdentity.
- NOT_APPROVED
- in file IAuthenticator.php, class constant IAuthenticator::NOT_APPROVED
Exception error code
- NPermission
- in file Permission.php, class NPermission
Access control list (ACL) functionality and privileges management.
- NSimpleAuthenticator
- in file SimpleAuthenticator.php, class NSimpleAuthenticator
Trivial implementation of IAuthenticator.
top
top
r
- removeAllow
- in file Permission.php, method NPermission::removeAllow()
Removes "allow" permissions from the list. The rule is removed only in the context of the given Roles, Resources, and privileges. Existing rules to which the remove operation does not apply would remain in the
- removeAllResources
- in file Permission.php, method NPermission::removeAllResources()
Removes all Resources.
- removeAllRoles
- in file Permission.php, method NPermission::removeAllRoles()
Removes all Roles from the list.
- removeDeny
- in file Permission.php, method NPermission::removeDeny()
Removes "deny" restrictions from the list. The rule is removed only in the context of the given Roles, Resources, and privileges. Existing rules to which the remove operation does not apply would remain in the
- removeResource
- in file Permission.php, method NPermission::removeResource()
Removes a Resource and all of its children.
- removeRole
- in file Permission.php, method NPermission::removeRole()
Removes the Role from the list.
- resourceInheritsFrom
- in file Permission.php, method NPermission::resourceInheritsFrom()
Returns TRUE if $resource inherits from $inherit.
- roleInheritsFrom
- in file Permission.php, method NPermission::roleInheritsFrom()
Returns TRUE if $role inherits from $inherit.
top
top
top