Element index for namespace Security

[ a ] [ d ] [ f ] [ g ] [ h ] [ i ] [ n ] [ p ] [ r ] [ s ] [ u ] [ _ ]

_

__construct
in file Identity.php, method NIdentity::__construct()
__construct
in file SimpleAuthenticator.php, method NSimpleAuthenticator::__construct()
__get
in file Identity.php, method NIdentity::__get()
    Returns user data value.
__set
in file Identity.php, method NIdentity::__set()
    Sets user data value.
top

a

addResource
in file Permission.php, method NPermission::addResource()
    Adds a Resource having an identifier unique to the list.
addRole
in file Permission.php, method NPermission::addRole()
    Adds a Role to the list.
ALL
in file IAuthorizator.php, class constant IAuthorizator::ALL
    NSet type: all
allow
in file Permission.php, method NPermission::allow()
    Adds an "allow" rule to the list. A rule is added that would allow one or more Roles access to [certain $privileges upon] the specified Resource(s).
ALLOW
in file IAuthorizator.php, class constant IAuthorizator::ALLOW
    NPermission type: allow
assert
in file IPermissionAssertion.php, method IPermissionAssertion::assert()
    Returns true if and only if the assertion conditions are met.
authenticate
in file SimpleAuthenticator.php, method NSimpleAuthenticator::authenticate()
    Performs an authentication against e.g. database.
authenticate
in file IAuthenticator.php, method IAuthenticator::authenticate()
    Performs an authentication against e.g. database.
AuthenticationException.php
procedural page AuthenticationException.php
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

f

FAILURE
in file IAuthenticator.php, class constant IAuthenticator::FAILURE
    Exception error code
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

h

hasResource
in file Permission.php, method NPermission::hasResource()
    Returns TRUE if the Resource exists in the list.
hasRole
in file Permission.php, method NPermission::hasRole()
    Returns TRUE if the Role exists in the list.
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

p

PASSWORD
in file IAuthenticator.php, class constant IAuthenticator::PASSWORD
    Credential key
Permission.php
procedural page Permission.php
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

s

SimpleAuthenticator.php
procedural page SimpleAuthenticator.php
setName
in file Identity.php, method NIdentity::setName()
    Sets the name of user.
setRoles
in file Identity.php, method NIdentity::setRoles()
    Sets a list of roles that the user is a member of.
setRule
in file Permission.php, method NPermission::setRule()
    Performs operations on Access NControl List rules.
top

u

USERNAME
in file IAuthenticator.php, class constant IAuthenticator::USERNAME
    Credential key
top