Skip to content

Commit

Permalink
Merge pull request #20 from Deamon/v1.x
Browse files Browse the repository at this point in the history
add quotes surrounding services and parameters string in yaml config
  • Loading branch information
ztec committed Apr 9, 2016
2 parents 4c82042 + c99a2c8 commit 9ab34ff
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@ parameters:
riper_security_active_directory_token_faulty : Riper\Security\ActiveDirectoryBundle\Security\Token\FaultyToken

riper_security_tokens_classes :
standard : %riper_security_active_directory_token%
faulty : %riper_security_active_directory_token_faulty%
standard : "%riper_security_active_directory_token%"
faulty : "%riper_security_active_directory_token_faulty%"

services:
riper.security.active.directory.user.provider:
class: "Riper\Security\ActiveDirectoryBundle\Security\User\AdUserProvider"
class: Riper\Security\ActiveDirectoryBundle\Security\User\AdUserProvider
arguments: ["%riper.security.active_directory.settings%", "@riper.security.active.directory.service.adldap", "@translator"]

riper.security.active.directory.authentication.provider:
class: "Riper\Security\ActiveDirectoryBundle\Security\Authentication\AdAuthProvider"
arguments: ["@riper.security.active.directory.user.provider", "", "@riper.security.active.directory.service.adldap", "@translator", "%riper_security_tokens_classes%", %riper.security.active_directory.settings% ]
class: Riper\Security\ActiveDirectoryBundle\Security\Authentication\AdAuthProvider
arguments: ["@riper.security.active.directory.user.provider", "", "@riper.security.active.directory.service.adldap", "@translator", "%riper_security_tokens_classes%", "%riper.security.active_directory.settings%" ]

riper.security.active.directory.service.adldap:
class: "Riper\Security\ActiveDirectoryBundle\Service\AdldapService"
class: Riper\Security\ActiveDirectoryBundle\Service\AdldapService
arguments: [ "%riper.security.active_directory.settings%"]

riper.security.active.directory.factory.adldap:
class: "Riper\Security\ActiveDirectoryBundle\Security\Factory\AdldapFactory"
arguments: [ @security.context, @riper.security.active.directory.service.adldap ]
class: Riper\Security\ActiveDirectoryBundle\Security\Factory\AdldapFactory
arguments: [ "@security.context", "@riper.security.active.directory.service.adldap" ]

0 comments on commit 9ab34ff

Please sign in to comment.