Skip to content

Commit

Permalink
Adding note to authentication description
Browse files Browse the repository at this point in the history
Added explicit note to tell users to enable http_basic before attempting to use authentication as described in the current documentation.
  • Loading branch information
rdohms committed Oct 21, 2013
1 parent 94c02a5 commit 618a34e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,18 @@ protected static function getServerParameters()
}
```

Note: this assumes you have enabled `http_basic` in your security configuration using this setting in the `config_test.yml` file:

```yaml
# app/config/config_test.yml
security:
firewalls:
your_firewall_name:
http_basic:
```
See [How to simulate HTTP Authentication in a Functional Test](http://symfony.com/doc/current/cookbook/testing/http_authentication.html) for details
### Changing Client initialization
Oftentimes, overriding `createClient` is enough. Whenever you need more
Expand Down

0 comments on commit 618a34e

Please sign in to comment.