SubjectResolver

Resolves an authenticated principal into ACL subjects.

interface SubjectResolver
Copyright
2015-2016 Appertly
License
Apache-2.0

Instance Methods

Public
ReturnsSignature and Description
Traversable<Subject>
getSubjects(Principal $principal)

Converts the principal into the relevant subjects.

Method Details

getSubjects

abstract public function getSubjects(Principal $principal)

Converts the principal into the relevant subjects.

Parameters
NameTypeDescription
$principalPrincipal

The principal

Returns
TypeDescription
Traversable<Subject>

A list of subjects