PHP Class Symfony\Bundle\SecurityBundle\DependencyInjection\SecurityExtension

Author: Fabien Potencier ([email protected])
Author: Johannes M. Schmitt ([email protected])
Inheritance: extends Symfony\Component\HttpKernel\DependencyInjection\Extension
Mostrar archivo Open project: symfony/symfony Class Usage Examples

Public Methods

Method Description
__construct ( )
addSecurityListenerFactory ( Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\SecurityFactoryInterface $factory )
addUserProviderFactory ( Symfony\Bundle\SecurityBundle\DependencyInjection\Security\UserProvider\UserProviderFactoryInterface $factory )
getConfiguration ( array $config, ContainerBuilder $container )
getNamespace ( )
getXsdValidationBasePath ( ) : string Returns the base path for the XSD files.
load ( array $configs, ContainerBuilder $container )

Private Methods

Method Description
aclLoad ( $config, ContainerBuilder $container )
configureDbalAclProvider ( array $config, ContainerBuilder $container, $loader )
createAuthenticationListeners ( $container, $id, $firewall, &$authenticationProviders, $defaultProvider, $defaultEntryPoint )
createAuthorization ( $config, ContainerBuilder $container )
createContextListener ( $container, $contextKey )
createEncoder ( $config, ContainerBuilder $container )
createEncoders ( $encoders, ContainerBuilder $container )
createExceptionListener ( $container, $config, $id, $defaultEntryPoint, $stateless )
createExpression ( $container, $expression )
createFirewall ( ContainerBuilder $container, $id, $firewall, &$authenticationProviders, $providerIds, $configId )
createFirewalls ( $config, ContainerBuilder $container )
createRequestMatcher ( $container, $path = null, $host = null, $methods = [], $ip = null, array $attributes = [] )
createRoleHierarchy ( array $config, ContainerBuilder $container ) Loads the web configuration.
createSwitchUserListener ( $container, $id, $config, $defaultProvider )
createUserDaoProvider ( $name, $provider, ContainerBuilder $container ) Parses a tag and returns the id for the related user provider service
createUserProviders ( $config, ContainerBuilder $container ) Parses user providers and returns an array of their ids
getExpressionLanguage ( )
getUserProviderId ( $name )

Method Details

__construct() public method

public __construct ( )

addSecurityListenerFactory() public method

public addSecurityListenerFactory ( Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\SecurityFactoryInterface $factory )
$factory Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\SecurityFactoryInterface

addUserProviderFactory() public method

public addUserProviderFactory ( Symfony\Bundle\SecurityBundle\DependencyInjection\Security\UserProvider\UserProviderFactoryInterface $factory )
$factory Symfony\Bundle\SecurityBundle\DependencyInjection\Security\UserProvider\UserProviderFactoryInterface

getConfiguration() public method

public getConfiguration ( array $config, ContainerBuilder $container )
$config array
$container Symfony\Component\DependencyInjection\ContainerBuilder

getNamespace() public method

public getNamespace ( )

getXsdValidationBasePath() public method

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

load() public method

public load ( array $configs, ContainerBuilder $container )
$configs array
$container Symfony\Component\DependencyInjection\ContainerBuilder