Méthode |
Description |
|
__construct ( string $name ) |
Initialize the principal with the passed name. |
|
__toString ( ) : string |
Returns the principals name as string. |
|
addMember ( AppserverIo\Psr\Security\PrincipalInterface $pricipal ) : boolean |
Adds the passed principal to the group. |
|
getMembers ( ) : AppserverIo\Collections\HashMap |
Return's the group's members. |
|
isMember ( AppserverIo\Psr\Security\PrincipalInterface $principal ) : boolean |
Returns TRUE if the passed principal is a member of the group. |
|
removeMember ( AppserverIo\Psr\Security\PrincipalInterface $principal ) : boolean |
Removes the passed principal from the group. |
|