Core/Security/Firewall.php
protected function _setFirewall() {
        $csrf = explode('.', $this->_configFirewall['csrf']['name']);
        $logged = explode('.', $this->_configFirewall['logged']['name']);
        $role = explode('.', $this->_configFirewall['roles']['name']);

        $this->_csrf['POST'] = $this->_setFirewallConfigArray($_POST, $csrf);
        $this->_csrf['GET'] = $this->_setFirewallConfigArray($_GET, $csrf);
        $this->_csrf['SESSION'] = $this->_setFirewallConfigArray($_SESSION, $csrf);
        $this->_logged = $this->_setFirewallConfigArray($_SESSION, $logged);
        $this->_role = $this->_setFirewallConfigArray($_SESSION, $role);
    }
protected function _setFirewall() {
        $csrf = explode('.', $this->_configFirewall['csrf']['name']);
        $logged = explode('.', $this->_configFirewall['logged']['name']);
        $role = explode('.', $this->_configFirewall['roles']['name']);

        $this->_csrf['POST'] = $this->_setFirewallConfigArray($_POST, $csrf);
        $this->_csrf['GET'] = $this->_setFirewallConfigArray($_GET, $csrf);
        $this->_csrf['SESSION'] = $this->_setFirewallConfigArray($_SESSION, $csrf);
        $this->_logged = $this->_setFirewallConfigArray($_SESSION, $logged);
        $this->_role = $this->_setFirewallConfigArray($_SESSION, $role);
    }
protected function _setFirewall ( ) { $ csrf = explode ( '.' , $ this -> _configFirewall [ 'csrf' ] [ 'name' ] ) ; $ logged = explode ( '.' , $ this -> _configFirewall [ 'logged' ] [ 'name' ] ) ; $ role = explode ( '.' , $ this -> _configFirewall [ 'roles' ] [ 'name' ] ) ; $ this -> _csrf [ 'POST' ] = $ this -> _setFirewallConfigArray ( $ _POST , $ csrf ) ; $ this -> _csrf [ 'GET' ] = $ this -> _setFirewallConfigArray ( $ _GET , $ csrf ) ; $ this -> _csrf [ 'SESSION' ] = $ this -> _setFirewallConfigArray ( $ _SESSION , $ csrf ) ; $ this -> _logged = $ this -> _setFirewallConfigArray ( $ _SESSION , $ logged ) ; $ this -> _role = $ this -> _setFirewallConfigArray ( $ _SESSION , $ role ) ; }
set firewall configuration
@access public
@return void
@since 3.0
@package Gcs\Framework\Core\Security
set firewall configuration