PHP 클래스 Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\AbstractFactory

저자: Fabien Potencier ([email protected])
저자: Lukas Kahwe Smith ([email protected])
저자: Johannes M. Schmitt ([email protected])
상속: implements Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\SecurityFactoryInterface
파일 보기 프로젝트 열기: symfony/symfony 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$defaultFailureHandlerOptions
$defaultSuccessHandlerOptions
$options

공개 메소드들

메소드 설명
addConfiguration ( Symfony\Component\Config\Definition\Builder\NodeDefinition $node )
addOption ( $name, $default = null )
create ( ContainerBuilder $container, $id, $config, $userProviderId, $defaultEntryPointId )

보호된 메소드들

메소드 설명
createAuthProvider ( ContainerBuilder $container, string $id, array $config, string $userProviderId ) : string Subclasses must return the id of a service which implements the AuthenticationProviderInterface.
createAuthenticationFailureHandler ( $container, $id, $config )
createAuthenticationSuccessHandler ( $container, $id, $config )
createEntryPoint ( ContainerBuilder $container, string $id, array $config, string $defaultEntryPointId ) : string Subclasses may create an entry point of their as they see fit. The default implementation does not change the default entry point.
createListener ( $container, $id, $config, $userProvider )
getFailureHandlerId ( $id )
getListenerId ( ) : string Subclasses must return the id of the abstract listener template.
getSuccessHandlerId ( $id )
isRememberMeAware ( array $config ) : boolean Subclasses may disable remember-me features for the listener, by always returning false from this method.

메소드 상세

addConfiguration() 공개 메소드

public addConfiguration ( Symfony\Component\Config\Definition\Builder\NodeDefinition $node )
$node Symfony\Component\Config\Definition\Builder\NodeDefinition

addOption() 최종 공개 메소드

final public addOption ( $name, $default = null )

create() 공개 메소드

public create ( ContainerBuilder $container, $id, $config, $userProviderId, $defaultEntryPointId )
$container Symfony\Component\DependencyInjection\ContainerBuilder

createAuthProvider() 추상적인 보호된 메소드

Subclasses must return the id of a service which implements the AuthenticationProviderInterface.
abstract protected createAuthProvider ( ContainerBuilder $container, string $id, array $config, string $userProviderId ) : string
$container Symfony\Component\DependencyInjection\ContainerBuilder
$id string The unique id of the firewall
$config array The options array for this listener
$userProviderId string The id of the user provider
리턴 string never null, the id of the authentication provider

createAuthenticationFailureHandler() 보호된 메소드

protected createAuthenticationFailureHandler ( $container, $id, $config )

createAuthenticationSuccessHandler() 보호된 메소드

protected createAuthenticationSuccessHandler ( $container, $id, $config )

createEntryPoint() 보호된 메소드

Subclasses may create an entry point of their as they see fit. The default implementation does not change the default entry point.
protected createEntryPoint ( ContainerBuilder $container, string $id, array $config, string $defaultEntryPointId ) : string
$container Symfony\Component\DependencyInjection\ContainerBuilder
$id string
$config array
$defaultEntryPointId string
리턴 string the entry point id

createListener() 보호된 메소드

protected createListener ( $container, $id, $config, $userProvider )

getFailureHandlerId() 보호된 메소드

protected getFailureHandlerId ( $id )

getListenerId() 추상적인 보호된 메소드

Listener definitions should inherit from the AbstractAuthenticationListener like this: In the above case, this method would return "my.listener.id".
abstract protected getListenerId ( ) : string
리턴 string

getSuccessHandlerId() 보호된 메소드

protected getSuccessHandlerId ( $id )

isRememberMeAware() 보호된 메소드

Subclasses may disable remember-me features for the listener, by always returning false from this method.
protected isRememberMeAware ( array $config ) : boolean
$config array
리턴 boolean Whether a possibly configured RememberMeServices should be set for this listener

프로퍼티 상세

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

protected $defaultFailureHandlerOptions

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

protected $defaultSuccessHandlerOptions

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

protected $options