webnet / sso-auth-bundle
SSO authentication your Symfony2 project
Installs: 11 966
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 74
Type:symfony-bundle
Requires
- php: >=5.3.3
- jasig/phpcas: 1.3.5
- kriswallsmith/buzz: >=0.7,<1.0-dev
- symfony/framework-bundle: ~2.1|~3.0|~4.0
- symfony/security-bundle: ~2.1|~3.0|~4.0
- symfony/twig-bundle: ~2.1|~3.0|~4.0
Requires (Dev)
- symfony/browser-kit: ~2.1|~4.0
- symfony/css-selector: ~2.1|~4.0
- symfony/expression-language: ~2.4|~4.0
- symfony/filesystem: ~2.1|~4.0
- symfony/form: ~2.1|~4.0
- symfony/validator: ~2.1|~4.0
- symfony/web-profiler-bundle: ~2.1|~4.0
- symfony/yaml: ~2.1|~4.0
This package is not auto-updated.
Last update: 2024-11-23 20:26:03 UTC
README
This bundle helps you to bring SSO authentication to your Symfony2 project.
It works in two ways:
- trusted: authentication is done against a known server (like with CAS)
- open: authentication is done with server of user's choice (like with OpenId)
Only CAS protocol is implemented for now, many other are planned.
This plugin is based on BeSimpleSsoAuthBundle.
It only adds the ability to connect to CAS using the SAML_VERSION_1_1 for CAS
In order to activate this mode, use the following configuration:
webnet_sso_auth:
provider_id:
protocol:
id: cas
version: 3 #important
server:
id: cas
login_url: [LOGIN_URL]
logout_url: [LOGOUT_URL]
validation_url: [VALIDATION_URL]
paramerters:
webnet.sso_auth.client.option.cas_host.value: [CAS_HOST]
webnet.sso_auth.client.option.cas_port.value: [CAS_PORT]
webnet.sso_auth.client.option.cas_context.value: [CAS_CONTEXT] #usually '/cas'
webnet.sso_auth.client.class: Webnet\SsoAuthBundle\Buzz\CasClient
webnet.sso_auth.protocol.cas.class: Webnet\SsoAuthBundle\Sso\Cas\SamlProtocol