public __construct ( string $username = null, string $password = null, AppserverIo\Collections\ArrayList $roles = null, AppserverIo\Psr\Security\PrincipalInterface $userPrincipal = null, AppserverIo\Psr\Security\Auth\Login\LoginContextInterface $loginContext = null ) | ||
$username | string | The principal's username |
$password | string | The principal's password |
$roles | AppserverIo\Collections\ArrayList | The principal's roles |
$userPrincipal | AppserverIo\Psr\Security\PrincipalInterface | The user principal instance that will be returned from the request |
$loginContext | AppserverIo\Psr\Security\Auth\Login\LoginContextInterface | The actual login context instance |