PHP Class Symfony\Bundle\FrameworkBundle\DependencyInjection\SecurityExtension

Author: Fabien Potencier ([email protected])
Inheritance: extends Symfony\Component\DependencyInjection\Extension\Extension
Exibir arquivo Open project: pmjones/php-framework-benchmarks

Public Methods

Method Description
configLoad ( array $config, ContainerBuilder $container ) Loads the web configuration.
getAlias ( )
getNamespace ( )
getXsdValidationBasePath ( ) : string Returns the base path for the XSD files.

Protected Methods

Method Description
createAccessListener ( $container, $id, $providers )
createAuthenticationListeners ( $container, $id, $firewall, $defaultProvider, $providerIds )
createAuthenticationProviders ( $config, ContainerBuilder $container ) Parses user providers and returns an array of their ids
createAuthorization ( $config, ContainerBuilder $container )
createExceptionListener ( $container, $id, $defaultEntryPoint )
createFirewall ( ContainerBuilder $container, $firewall, $providerIds )
createFirewalls ( $config, ContainerBuilder $container )
createFormLoginListener ( $container, $id, $config, $defaultProvider, $providerIds )
createHttpBasicListener ( $container, $id, $config, $defaultProvider, $providerIds )
createHttpDigestListener ( $container, $id, $config, $defaultProvider, $providerIds )
createRoleHierarchy ( $config, ContainerBuilder $container )
createSwitchUserListener ( $container, $id, $config, $defaultProvider )
createUserDaoProvider ( $name, $provider, ContainerBuilder $container, $master = true ) Parses a tag and returns the id for the related user provider service
createX509Listener ( $container, $id, $config, $defaultProvider, $providerIds )
fixConfig ( $config, $key )
getUserProviderId ( $name )

Method Details

configLoad() public method

Loads the web configuration.
public configLoad ( array $config, ContainerBuilder $container )
$config array An array of configuration settings
$container Symfony\Component\DependencyInjection\ContainerBuilder A ContainerBuilder instance

createAccessListener() protected method

protected createAccessListener ( $container, $id, $providers )

createAuthenticationListeners() protected method

protected createAuthenticationListeners ( $container, $id, $firewall, $defaultProvider, $providerIds )

createAuthenticationProviders() protected method

Parses user providers and returns an array of their ids
protected createAuthenticationProviders ( $config, ContainerBuilder $container )
$container Symfony\Component\DependencyInjection\ContainerBuilder

createAuthorization() protected method

protected createAuthorization ( $config, ContainerBuilder $container )
$container Symfony\Component\DependencyInjection\ContainerBuilder

createExceptionListener() protected method

protected createExceptionListener ( $container, $id, $defaultEntryPoint )

createFirewall() protected method

protected createFirewall ( ContainerBuilder $container, $firewall, $providerIds )
$container Symfony\Component\DependencyInjection\ContainerBuilder

createFirewalls() protected method

protected createFirewalls ( $config, ContainerBuilder $container )
$container Symfony\Component\DependencyInjection\ContainerBuilder

createFormLoginListener() protected method

protected createFormLoginListener ( $container, $id, $config, $defaultProvider, $providerIds )

createHttpBasicListener() protected method

protected createHttpBasicListener ( $container, $id, $config, $defaultProvider, $providerIds )

createHttpDigestListener() protected method

protected createHttpDigestListener ( $container, $id, $config, $defaultProvider, $providerIds )

createRoleHierarchy() protected method

protected createRoleHierarchy ( $config, ContainerBuilder $container )
$container Symfony\Component\DependencyInjection\ContainerBuilder

createSwitchUserListener() protected method

protected createSwitchUserListener ( $container, $id, $config, $defaultProvider )

createUserDaoProvider() protected method

Parses a tag and returns the id for the related user provider service
protected createUserDaoProvider ( $name, $provider, ContainerBuilder $container, $master = true )
$container Symfony\Component\DependencyInjection\ContainerBuilder

createX509Listener() protected method

protected createX509Listener ( $container, $id, $config, $defaultProvider, $providerIds )

fixConfig() protected method

protected fixConfig ( $config, $key )

getAlias() public method

public getAlias ( )

getNamespace() public method

public getNamespace ( )

getUserProviderId() protected method

protected getUserProviderId ( $name )

getXsdValidationBasePath() public method

Returns the base path for the XSD files.
public getXsdValidationBasePath ( ) : string
return string The XSD base path