PHP 클래스 AppserverIo\Appserver\ServletEngine\Security\Auth\Callback\SecurityAssociationHandler

상속: implements AppserverIo\Psr\Security\Auth\Callback\CallbackHandlerInterface
파일 보기 프로젝트 열기: appserver-io/appserver

보호된 프로퍼티들

프로퍼티 타입 설명
$credential AppserverIo\Lang\String The principal's credential.
$principal AppserverIo\Psr\Security\PrincipalInterface The principal instance.

공개 메소드들

메소드 설명
__construct ( AppserverIo\Psr\Security\PrincipalInterface $principal, string $credential )
handle ( AppserverIo\Collections\CollectionInterface $callbacks ) : void Handles UsernameCallback and PasswordCallback types. A UsernameCallback name property is set to the Prinicpal->getName() value. A PasswordCallback password property is set to the credential value.

메소드 상세

__construct() 공개 메소드

public __construct ( AppserverIo\Psr\Security\PrincipalInterface $principal, string $credential )
$principal AppserverIo\Psr\Security\PrincipalInterface The principal instance
$credential string The principal's credential

handle() 공개 메소드

Handles UsernameCallback and PasswordCallback types. A UsernameCallback name property is set to the Prinicpal->getName() value. A PasswordCallback password property is set to the credential value.
public handle ( AppserverIo\Collections\CollectionInterface $callbacks ) : void
$callbacks AppserverIo\Collections\CollectionInterface The collection with the callbacks
리턴 void

프로퍼티 상세

$credential 보호되어 있는 프로퍼티

The principal's credential.
protected String,AppserverIo\Lang $credential
리턴 AppserverIo\Lang\String

$principal 보호되어 있는 프로퍼티

The principal instance.
protected PrincipalInterface,AppserverIo\Psr\Security $principal
리턴 AppserverIo\Psr\Security\PrincipalInterface