Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

small fixes

  • Loading branch information...
commit 3c8f4bba625e181ee462827979425e11b1f47ff1 1 parent 1a3b8af
Jean-François Simon jfsimon authored
6 BeSimpleSsoAuthBundle.php
View
@@ -6,8 +6,14 @@
use Symfony\Component\DependencyInjection\ContainerBuilder;
use BeSimple\SsoAuthBundle\DependencyInjection\Compiler\FactoryPass;
+/**
+ * @author: Jean-François Simon <contact@jfsimon.fr>
+ */
class BeSimpleSsoAuthBundle extends Bundle
{
+ /**
+ * {@inheritdoc}
+ */
public function build(ContainerBuilder $container)
{
parent::build($container);
2  Exception/ConfigNotFoundException.php
View
@@ -9,6 +9,6 @@ class ConfigNotFoundException extends NotFoundException
{
public function __construct($id, $code = null, $previous = null)
{
- parent::__construct('Config', $id, $code, $previous);
+ parent::__construct($id, 'Config', $code, $previous);
}
}
2  Exception/ProtocolNotFoundException.php
View
@@ -9,6 +9,6 @@ class ProtocolNotFoundException extends NotFoundException
{
public function __construct($id, $code = null, $previous = null)
{
- parent::__construct('Protocol', $id, $code, $previous);
+ parent::__construct($id, 'Protocol', $code, $previous);
}
}
2  Exception/ServerNotFoundException.php
View
@@ -9,6 +9,6 @@ class ServerNotFoundException extends NotFoundException
{
public function __construct($id, $code = null, $previous = null)
{
- parent::__construct('Server', $id, $code, $previous);
+ parent::__construct($id, 'Server', $code, $previous);
}
}
16 README.md
View
@@ -2,9 +2,17 @@ SSO authentication for Symfony2
===============================
-*Tests OK!*
+This bundle helps you to bring SSO authentication to yous Symfony2 project.
-- Only CAS protocol is implemented for now.
-- Documentation in Resources/doc
-- License in Resources/meta/LICENSE
+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.
+
+
+- [Read documentation](https://github.com/BeSimple/BeSimpleSsoAuthBundle/blob/master/Resources/doc/index.md)
+- [See the license](https://github.com/BeSimple/BeSimpleSsoAuthBundle/blob/master/Resources/meta/LICENSE)
29 Resources/doc/index.md
View
@@ -1,25 +1,24 @@
-BeSimpleSsoAuthBundle documentation
-===================================
+BeSimpleSsoAuthBundle documentation summary
+===========================================
-This bundle helps you to bring SSO authentication to yous Symfony2 project.
+The basics
+----------
-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)
-
-
-Documentation summary
----------------------
+- [Installation & setup](install.md)
+- [Configure trusted SSO](trusted.md)
+- Configure open SSO (*to come*)
-The basics:
+Advanced use
+------------
-- [Installation & setup](install.md)
-- [Configure trusted SSO](trusted.md) *CAS only for now*
+- Customize SSO server (*to come*)
+- Add a protocol (*to come*)
+- Manage users (*to come*)
-Reminder:
+Some notes
+----------
- [Some SSO protocols](protocols.md)
15 Resources/doc/trusted.md
View
@@ -33,8 +33,8 @@ Other optional configuration entries are:
**An example in YAML format:**
# security.yml
+
security:
- # ...
firewalls:
my_firewall:
pattern: ^/secured-area/.*$
@@ -42,15 +42,18 @@ Other optional configuration entries are:
manager: my_manager
login_action: BeSimpleSsoAuthBundle:TrustedSso:login
logout_action: BeSimpleSsoAuthBundle:TrustedSso:logout
- # ...
- #...
-Server configuration
---------------------
+Manager configuration
+---------------------
+
+
+Now you must configure your `my_manager` manager.
-An example:
+**An example in YAML format:**
+
+ # config.yml
be_simple_sso_auth:
my_manager:
Please sign in to comment.
Something went wrong with that request. Please try again.