symfony API

sfBasicSecurityFilter Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.2 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.2 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

sfBasicSecurityFilter checks security by calling the getCredential() method of the action. Once the credential has been acquired, sfBasicSecurityFilter verifies the user has the same credential by calling the hasCredential() method of SecurityUser.

Inheritence

sfBasicSecurityFilter  <  sfFilter

Method Summary

Methods inherited from sfFilter

getContext , getParameter , getParameterHolder , hasParameter , initialize , isFirstCall , setParameter , __construct

Method Details

  • execute ((sfFilterChain) $filterChain) Browse code

    $filterChain A sfFilterChain instance

    Executes this filter.

  • forwardToLoginAction () Browse code

    Forwards the current request to the login action.

    throws sfStopException

  • forwardToSecureAction () Browse code

    Forwards the current request to the secure action.

    throws sfStopException

  • (mixed) getUserCredential () Browse code

    Returns the credential required for this action.

    returns The credential required for this action