88Once SAML Response is received LightSAML SP-Bundle authentication provider has to resolve it to a corresponding User.
99That resolution is done through several steps, that this document will explain in details.
1010
11- ![ User resolution] ( /images/sp-bundle/user-resolution-01-resolution.png )
12-
11+ <img src =" /images/sp-bundle/user-resolution-01-resolution.png " alt =" User resolution " style =" max-width : 90% " >
1312
1413## Username mapper
1514
1615First step in resolving the user from SAML Response is to check if it's an existing user. In order to do that,
1716we need the ** username** .
1817
19- ![ Username mapper ] ( /images/sp-bundle/user-resolution-02-username.png )
18+ < img src = " /images/sp-bundle/user-resolution-02-username.png " alt = " Username mapper " style = " max-width : 90 % " >
2019
2120Username mapper responsibility is to provide username for a given SAML Response.
2221
@@ -61,7 +60,7 @@ such user if it exists. If an instance of ``Symfony\Component\Security\Core\User
6160the user resolution is finished right away, based just on the SAML Response to username mapping, provided by
6261username mapper.
6362
64- ![ User provider ] ( /images/sp-bundle/user-resolution-03-provider.png )
63+ < img src = " /images/sp-bundle/user-resolution-03-provider.png " alt = " User provider " style = " max-width : 90 % " >
6564
6665The `` provider `` is common Symfony options for each
6766[ security listener configuration] ( http://symfony.com/doc/current/reference/configuration/security.html ) .
@@ -72,7 +71,7 @@ The ``provider`` is common Symfony options for each
7271If user provider didn't return User, it has to throw `` UsernameNotFoundException `` and in that case
7372user creator is called with expectation to create a new User based on the given SAML Response, if possible.
7473
75- ![ User creator ] ( /images/sp-bundle/user-resolution-04-creator.png )
74+ < img src = " /images/sp-bundle/user-resolution-04-creator.png " alt = " User creator " style = " max-width : 90 % " >
7675
7776You can find the example user creator in
7877[ Getting started - Step 8: Implement User Creator service] ( ../Getting-started/#step-8-implement-user-creator-service ) .
0 commit comments