Download the PHP package gepur-it/ldap-bundle without Composer
On this page you can find all versions of the php package gepur-it/ldap-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download gepur-it/ldap-bundle
More information about gepur-it/ldap-bundle
Files in gepur-it/ldap-bundle
Download gepur-it/ldap-bundle
More information about gepur-it/ldap-bundle
Files in gepur-it/ldap-bundle
Vendor gepur-it
Package ldap-bundle
Short Description Authorisation bundle fot gepur apps
License MIT
Homepage https://github.com/gepur-it/ldap-bundle
Package ldap-bundle
Short Description Authorisation bundle fot gepur apps
License MIT
Homepage https://github.com/gepur-it/ldap-bundle
Please rate this library. Is it a good library?
Informations about the package ldap-bundle
ldap-bundle
Authorisation bundle fot gepur apps
Fix security.yaml:
add provider to providers section in security.yaml
security:
...
providers:
gepur_ldap:
id: GepurIt\LdapBundle\Contracts\ErpUserProviderInterface
add api key and ldap authenticators:
security:
...
firewalls:
...
main:
guard:
authenticators:
- GepurIt\LdapBundle\Guard\ApiKeyAuthenticator
- GepurIt\LdapBundle\Guard\LdapAuthenticator
entry_point: GepurIt\LdapBundle\Guard\ApiKeyAuthenticator
add logout handler (to clear api key):
security:
...
firewalls:
...
main:
...
logout:
path: logout
target: /login
invalidate_session: true
success_handler: GepurIt\LdapBundle\Logout\LogoutSuccessHandler
handlers: [GepurIt\LdapBundle\Logout\LogoutHandler]
full added configs:
security:
...
providers:
gepur_ldap:
id: GepurIt\LdapBundle\Contracts\ErpUserProviderInterface
firewalls:
dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/
security: false
main:
pattern: ^/
stateless: true
anonymous: ~
logout:
path: logout
target: /login
invalidate_session: true
success_handler: GepurIt\LdapBundle\Logout\LogoutSuccessHandler
handlers: [GepurIt\LdapBundle\Logout\LogoutHandler]
guard:
authenticators:
- GepurIt\LdapBundle\Guard\ApiKeyAuthenticator
- GepurIt\LdapBundle\Guard\LdapAuthenticator
entry_point: GepurIt\LdapBundle\Guard\ApiKeyAuthenticator
All versions of ldap-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
ext-json Version *
doctrine/orm Version >=2.5
doctrine/doctrine-bundle Version >=1.6
gepur-it/user Version ^4.3|^5.0
alcaeus/mongo-php-adapter Version >=1.1
doctrine/mongodb-odm-bundle Version >=3.5
symfony/ldap Version ^4.3|^5.0
gepur-it/action-logger-bundle Version ^5.0
symfony/security-bundle Version ^5.0
ext-json Version *
doctrine/orm Version >=2.5
doctrine/doctrine-bundle Version >=1.6
gepur-it/user Version ^4.3|^5.0
alcaeus/mongo-php-adapter Version >=1.1
doctrine/mongodb-odm-bundle Version >=3.5
symfony/ldap Version ^4.3|^5.0
gepur-it/action-logger-bundle Version ^5.0
symfony/security-bundle Version ^5.0
The package gepur-it/ldap-bundle contains the following files
Loading the files please wait ....