This repository was archived by the owner on Nov 27, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +46
-429
lines changed
src/Acme/DemoBundle/Controller Expand file tree Collapse file tree 6 files changed +46
-429
lines changed Original file line number Diff line number Diff line change @@ -140,24 +140,21 @@ It comes pre-configured with the following bundles:
140
140
* [ ** AsseticBundle** ] [ 12 ] - Adds support for Assetic, an asset processing
141
141
library
142
142
143
- * [ ** JMSSecurityExtraBundle** ] [ 13 ] - Allows security to be added via
144
- annotations
145
-
146
- * [ ** JMSDiExtraBundle** ] [ 14 ] - Adds more powerful dependency injection
147
- features
148
-
149
143
* ** WebProfilerBundle** (in dev/test env) - Adds profiling functionality and
150
144
the web debug toolbar
151
145
152
146
* ** SensioDistributionBundle** (in dev/test env) - Adds functionality for
153
147
configuring and working with Symfony distributions
154
148
155
- * [ ** SensioGeneratorBundle** ] [ 15 ] (in dev/test env) - Adds code generation
149
+ * [ ** SensioGeneratorBundle** ] [ 13 ] (in dev/test env) - Adds code generation
156
150
capabilities
157
151
158
152
* ** AcmeDemoBundle** (in dev/test env) - A demo bundle with some example
159
153
code
160
154
155
+ All libraries and bundles included in the Symfony Standard Edition are
156
+ released under the MIT or BSD license.
157
+
161
158
Enjoy!
162
159
163
160
[ 1 ] : http://symfony.com/doc/2.1/book/installation.html
@@ -172,6 +169,4 @@ Enjoy!
172
169
[ 10 ] : http://symfony.com/doc/2.1/cookbook/email.html
173
170
[ 11 ] : http://symfony.com/doc/2.1/cookbook/logging/monolog.html
174
171
[ 12 ] : http://symfony.com/doc/2.1/cookbook/assetic/asset_management.html
175
- [ 13 ] : http://jmsyst.com/bundles/JMSSecurityExtraBundle/master
176
- [ 14 ] : http://jmsyst.com/bundles/JMSDiExtraBundle/master
177
- [ 15 ] : http://symfony.com/doc/2.1/bundles/SensioGeneratorBundle/index.html
172
+ [ 13 ] : http://symfony.com/doc/2.1/bundles/SensioGeneratorBundle/index.html
Original file line number Diff line number Diff line change @@ -16,9 +16,6 @@ public function registerBundles()
16
16
new Symfony \Bundle \AsseticBundle \AsseticBundle (),
17
17
new Doctrine \Bundle \DoctrineBundle \DoctrineBundle (),
18
18
new Sensio \Bundle \FrameworkExtraBundle \SensioFrameworkExtraBundle (),
19
- new JMS \AopBundle \JMSAopBundle (),
20
- new JMS \DiExtraBundle \JMSDiExtraBundle ($ this ),
21
- new JMS \SecurityExtraBundle \JMSSecurityExtraBundle (),
22
19
);
23
20
24
21
if (in_array ($ this ->getEnvironment (), array ('dev ' , 'test ' ))) {
Original file line number Diff line number Diff line change 1
- jms_security_extra :
2
- secure_all_services : false
3
- expressions : true
4
-
5
1
security :
6
2
encoders :
7
3
Symfony\Component\Security\Core\User\User : plaintext
@@ -39,4 +35,5 @@ security:
39
35
# realm: "Secured Demo Area"
40
36
41
37
access_control :
38
+ - { path: ^/demo/secured/hello/admin/, roles: ROLE_ADMIN }
42
39
# - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY, requires_channel: https }
Original file line number Diff line number Diff line change 17
17
"symfony/monolog-bundle" : " 2.2.*" ,
18
18
"sensio/distribution-bundle" : " 2.2.*" ,
19
19
"sensio/framework-extra-bundle" : " 2.2.*" ,
20
- "sensio/generator-bundle" : " 2.2.*" ,
21
- "jms/security-extra-bundle" : " 1.4.*" ,
22
- "jms/di-extra-bundle" : " 1.3.*"
20
+ "sensio/generator-bundle" : " 2.2.*"
23
21
},
24
22
"scripts" : {
25
23
"post-install-cmd" : [
You can’t perform that action at this time.
0 commit comments