protected function newSecurity()
    {
        $config = $this->config->getCurrentResourceConfiguration();

        return new Security(
            new SimpleAuthenticationBouncer($config),
            new SimpleRoleBouncer($config),
            new ParentBouncer($config)
        );
    }
protected function newSecurity()
    {
        $config = $this->config->getCurrentResourceConfiguration();

        return new Security(
            new SimpleAuthenticationBouncer($config),
            new SimpleRoleBouncer($config),
            new ParentBouncer($config)
        );
    }
protected function newSecurity ( ) { $ config = $ this -> config -> getCurrentResourceConfiguration ( ) ; return new Security ( new SimpleAuthenticationBouncer ( $ config ) , new SimpleRoleBouncer ( $ config ) , new ParentBouncer ( $ config ) ) ; }
Creates a Security gateway with all Bouncers

@return Security
Creates a Security gateway with all Bouncers