Selaa lähdekoodia

Update vendor ik/auth-bundle. Custom authentication provider

Guillermo Espinoza 7 vuotta sitten
vanhempi
commit
6f64fd0e9a
2 muutettua tiedostoa jossa 8 lisäystä ja 9 poistoa
  1. 6 7
      app/config/security.yml
  2. 2 2
      composer.lock

+ 6 - 7
app/config/security.yml

@@ -7,18 +7,18 @@ security:
         ROLE_ADMIN: [ROLE_USER, ROLE_ALLOWED_TO_SWITCH]
         ROLE_SUPER_ADMIN: ROLE_ADMIN
             
-    firewalls:
-        
+    firewalls:       
+                                
         dev:
             pattern: ^/(_(profiler|wdt)|css|images|js)/
             security: false
             
         api:
           pattern: ^/api
+          http_basic: true
           stateless: true
-          simple_preauth:
-              authenticator: auth_security_oauthproxyauthenticator
-            
+          oauth_proxy: true
+
         secured_area:
             pattern: ^/
             logout:
@@ -26,7 +26,6 @@ security:
                 target: /
                 success_handler: base_admin.security.logout.handler
             anonymous: true
-            
             # HWIOAuthBundle + BaseOAuthBundle Configuration
             oauth:
                 login_path: /login
@@ -36,7 +35,7 @@ security:
                     login: /login_check
                 oauth_user_provider:
                     service: base_oauth_bundle.oauth_user_provider
-                    
+          
     access_control:
         - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
         - { path: ^/admin/, role: ROLE_ADMIN }

+ 2 - 2
composer.lock

@@ -1397,7 +1397,7 @@
             "source": {
                 "type": "git",
                 "url": "ssh://git@200.50.168.30:222/VendorSoftwareFlowdat3/AuthBundle.git",
-                "reference": "dd019a180c3ffc2952c6ba2174846fcb669b9f5d"
+                "reference": "271d2bb7e6854284920b08423d9156b79440c69b"
             },
             "type": "library",
             "autoload": {
@@ -1412,7 +1412,7 @@
                 "auth",
                 "bundle"
             ],
-            "time": "2017-08-24 15:50:40"
+            "time": "2017-08-25 18:35:12"
         },
         {
             "name": "ik/base-admin-bundle",