PHP 클래스 Sulu\Component\Security\Authorization\SecurityContextVoter

상속: implements Symfony\Component\Security\Core\Authorization\Voter\VoterInterface
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Sulu\Component\Security\Authorization\AccessControl\AccessControlManagerInterface $accessControlManager, $permissions )
supportsAttribute ( $attribute )
supportsClass ( $class )
vote ( Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token, $object, array $attributes )

메소드 상세

__construct() 공개 메소드

public __construct ( Sulu\Component\Security\Authorization\AccessControl\AccessControlManagerInterface $accessControlManager, $permissions )
$accessControlManager Sulu\Component\Security\Authorization\AccessControl\AccessControlManagerInterface

supportsAttribute() 공개 메소드

public supportsAttribute ( $attribute )

supportsClass() 공개 메소드

public supportsClass ( $class )

vote() 공개 메소드

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