AppserverIo\Appserver\ServletEngine\Http\Request::setUserPrincipal PHP 메소드

setUserPrincipal() 공개 메소드

Set's the user principal for this request.
public setUserPrincipal ( AppserverIo\Psr\Security\PrincipalInterface $userPrincipal = null ) : void
$userPrincipal AppserverIo\Psr\Security\PrincipalInterface The user principal
리턴 void
    public function setUserPrincipal(PrincipalInterface $userPrincipal = null)
    {
        $this->userPrincipal = $userPrincipal;
    }