The following parameters can by default be passed from the configuration.
passwordStacking: If this is set to "useFirstPass", the login identity will be taken from the
appserver.security.auth.login.name value of the sharedState map, and the proof
of identity from the appserver.security.auth.login.password value of the sharedState map
principalClass: A Principal implementation that support a constructor taking a string argument for the princpal name
unauthenticatedIdentity: The name of the principal to asssign and authenticate when a null username and password are seen
public initialize ( AppserverIo\Psr\Security\Auth\Subject $subject, AppserverIo\Psr\Security\Auth\Callback\CallbackHandlerInterface $callbackHandler, AppserverIo\Collections\MapInterface $sharedState, AppserverIo\Collections\MapInterface $params ) : void | ||
$subject | AppserverIo\Psr\Security\Auth\Subject | The Subject to update after a successful login |
$callbackHandler | AppserverIo\Psr\Security\Auth\Callback\CallbackHandlerInterface | The callback handler that will be used to obtain the user identity and credentials |
$sharedState | AppserverIo\Collections\MapInterface | A map shared between all configured login module instances |
$params | AppserverIo\Collections\MapInterface | The parameters passed to the login module |
Résultat | void |