AppserverIo\Appserver\ServletEngine\Security\GenericPrincipal::getUserPrincipal PHP Method

getUserPrincipal() public method

Return's the user principal instance that will be returned from the request.
public getUserPrincipal ( ) : the
return the \AppserverIo\Psr\Security\PrincipalInterface The user principal
    public function getUserPrincipal()
    {
        return $this->userPrincipal;
    }