Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit442f293

Browse files
committed
Tweaking XML for#468
1 parent6972bd4 commit442f293

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

‎book/security.rst‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,15 @@ authentication (i.e. the old-school username/password box):
6363
6464
..code-block::xml
6565
66-
<!-- app/config/security.xml-->
66+
<?xml version="1.0" encoding="UTF-8"?>
67+
6768
<srv:containerxmlns="http://symfony.com/schema/dic/security"
6869
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6970
xmlns:srv="http://symfony.com/schema/dic/services"
7071
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
7172
73+
<!-- app/config/security.xml-->
74+
7275
<config>
7376
<firewallname="secured_area"pattern="^/">
7477
<anonymous />
@@ -283,12 +286,15 @@ First, enable form login under your firewall:
283286
284287
..code-block::xml
285288
286-
<!-- app/config/security.xml-->
289+
<?xml version="1.0" encoding="UTF-8"?>
290+
287291
<srv:containerxmlns="http://symfony.com/schema/dic/security"
288292
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
289293
xmlns:srv="http://symfony.com/schema/dic/services"
290294
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
291295
296+
<!-- app/config/security.xml-->
297+
292298
<config>
293299
<firewallname="secured_area"pattern="^/">
294300
<anonymous />

‎cookbook/security/securing_services.rst‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,14 @@ documentation.
238238
239239
..code-block::xml
240240
241-
<!-- app/config/config.xml-->
242-
<srv:containerxmlns="http://symfony.com/schema/dic/security"
241+
<?xml version="1.0" ?>
242+
243+
<containerxmlns="http://symfony.com/schema/dic/services"
243244
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
244-
xmlns:srv="http://symfony.com/schema/dic/services"
245-
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
245+
xmlns:acme_hello="http://www.example.com/symfony/schema/"
246+
xsi:schemaLocation="http://www.example.com/symfony/schema/ http://www.example.com/symfony/schema/hello-1.0.xsd">
247+
248+
<!-- app/config/config.xml-->
246249
247250
<jms_security_extrasecure_controllers="true"secure_all_services="true" />
248251

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp