Свойство | Type | Description | |
---|---|---|---|
$loginContext | AppserverIo\Psr\Security\Auth\Login\LoginContextInterface | The actual login context instance. | |
$password | AppserverIo\Lang\String | The principal's password. | |
$roles | AppserverIo\Collection\ArrayList | The principal's roles. | |
$userPrincipal | AppserverIo\Psr\Security\PrincipalInterface | The user principal instance that will be returned from the request. | |
$username | AppserverIo\Lang\String | The principal's username. |
Méthode | Description | |
---|---|---|
__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 ) | Initializes the principal with the data from the passed objects. | |
getLoginContext ( ) : the | Return's the actual login context instance. | |
getPassword ( ) : the | Return's the principal's password. | |
getRoles ( ) : the | Return's the principal's roles. | |
getUserPrincipal ( ) : the | Return's the user principal instance that will be returned from the request. | |
getUsername ( ) : the | Return's the principal's username. |
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 |
public getLoginContext ( ) : the | ||
Résultat | the | \AppserverIo\Psr\Security\Auth\Login\LoginContextInterface The login context instance |
public getPassword ( ) : the | ||
Résultat | the | \AppserverIo\Lang\String The password |
public getRoles ( ) : the | ||
Résultat | the | \AppserverIo\Collection\ArrayList The roles |
public getUserPrincipal ( ) : the | ||
Résultat | the | \AppserverIo\Psr\Security\PrincipalInterface The user principal |
public getUsername ( ) : the | ||
Résultat | the | \AppserverIo\Lang\String The username |
protected LoginContextInterface,AppserverIo\Psr\Security\Auth\Login $loginContext | ||
Résultat | AppserverIo\Psr\Security\Auth\Login\LoginContextInterface |
protected String,AppserverIo\Lang $password | ||
Résultat | AppserverIo\Lang\String |
protected ArrayList,AppserverIo\Collection $roles | ||
Résultat | AppserverIo\Collection\ArrayList |
protected PrincipalInterface,AppserverIo\Psr\Security $userPrincipal | ||
Résultat | AppserverIo\Psr\Security\PrincipalInterface |