AppserverIo\Appserver\ServletEngine\Http\Request::getUserPrincipal PHP Method

getUserPrincipal() public method

Return's a PrincipalInterface object containing the name of the current authenticated user.
public getUserPrincipal ( ) : AppserverIo\Psr\Security\PrincipalInterface | null
return AppserverIo\Psr\Security\PrincipalInterface | null The user principal
    public function getUserPrincipal()
    {
        return $this->userPrincipal;
    }