phpPoA2
[ class tree: phpPoA2 ] [ index: phpPoA2 ] [ all elements ]

Class: QueryFilterConfigurator

Source Location: /lib/authz/QueryFilterConfigurator.php

Class Overview

GenericConfigurator
   |
   --AuthorizationConfigurator
      |
      --QueryFilterConfigurator

Configurator for the query filter authorization engine.


Author(s):

Version:

  • 2.0

Copyright:

  • Copyright 2005-2010 RedIRIS, http://www.rediris.es/

    This file is part of phpPoA2.

    phpPoA2 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

    phpPoA2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along with phpPoA2. If not, see <http://www.gnu.org/licenses/>.

Variables

Methods


Inherited Variables

Inherited Methods

Class: AuthorizationConfigurator

AuthorizationConfigurator::getDefaultBehaviour()
Determines the default behaviour of the authorization engine, whether it should authorize or not if no pattern (nor allowed nor denied) matches.

Class: GenericConfigurator

GenericConfigurator::__construct()
Main constructor.
GenericConfigurator::configure()
Read the configuration from the specified file and section.
GenericConfigurator::validate()
Check all mandatory attributes are set.

Class Details

[line 31]
Configurator for the query filter authorization engine.



Tags:

author:  Jaime Perez <jaime.perez@rediris.es>
version:  2.0
copyright:  

Copyright 2005-2010 RedIRIS, http://www.rediris.es/

This file is part of phpPoA2.

phpPoA2 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

phpPoA2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with phpPoA2. If not, see <http://www.gnu.org/licenses/>.



[ Top ]


Class Variables

$mandatory_options = array("Allowed", "Denied")

[line 33]



Tags:

access:  protected

Type:   mixed
Overrides:   Array


[ Top ]



Class Methods


method getAllowedPatterns [line 39]

array getAllowedPatterns( )

Returns the patterns that match allowed URIs or query parameters.



Tags:

return:  The array with the allowed patterns.
access:  public


[ Top ]

method getDeniedPatterns [line 47]

array getDeniedPatterns( )

Returns the patterns that match denied URIs or query parameters.



Tags:

return:  The array with the denied patterns.
access:  public


[ Top ]


Documentation generated on Thu, 26 Aug 2010 13:38:56 +0200 by phpDocumentor 1.4.3