PHP Class Sulu\Component\Security\Authorization\AccessControl\SymfonyAccessControlVoter

Deprecation: will be removed with 1.2
Inheritance: extends Symfony\Component\Security\Acl\Voter\AclVoter
Show file Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\Security\Acl\Model\AclProviderInterface $aclProvider, Symfony\Component\Security\Acl\Model\ObjectIdentityRetrievalStrategyInterface $oidRetrievalStrategy, Symfony\Component\Security\Acl\Model\SecurityIdentityRetrievalStrategyInterface $sidRetrievalStrategy, Symfony\Component\Security\Acl\Permission\PermissionMapInterface $permissionMap, Psr\Log\LoggerInterface $logger = null, $allowIfObjectIdentityUnavailable = true )
vote ( Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token, $object, array $attributes )

Method Details

__construct() public method

public __construct ( Symfony\Component\Security\Acl\Model\AclProviderInterface $aclProvider, Symfony\Component\Security\Acl\Model\ObjectIdentityRetrievalStrategyInterface $oidRetrievalStrategy, Symfony\Component\Security\Acl\Model\SecurityIdentityRetrievalStrategyInterface $sidRetrievalStrategy, Symfony\Component\Security\Acl\Permission\PermissionMapInterface $permissionMap, Psr\Log\LoggerInterface $logger = null, $allowIfObjectIdentityUnavailable = true )
$aclProvider Symfony\Component\Security\Acl\Model\AclProviderInterface
$oidRetrievalStrategy Symfony\Component\Security\Acl\Model\ObjectIdentityRetrievalStrategyInterface
$sidRetrievalStrategy Symfony\Component\Security\Acl\Model\SecurityIdentityRetrievalStrategyInterface
$permissionMap Symfony\Component\Security\Acl\Permission\PermissionMapInterface
$logger Psr\Log\LoggerInterface

vote() public method

public vote ( Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token, $object, array $attributes )
$token Symfony\Component\Security\Core\Authentication\Token\TokenInterface
$attributes array