Skip to content

Commit ed785fd

Browse files
authored
Update index.md
1 parent 4c2fe02 commit ed785fd

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

SP-Bundle/User-resolution/index.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@
88
Once SAML Response is received LightSAML SP-Bundle authentication provider has to resolve it to a corresponding User.
99
That 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

1615
First step in resolving the user from SAML Response is to check if it's an existing user. In order to do that,
1716
we 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

2120
Username 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
6160
the user resolution is finished right away, based just on the SAML Response to username mapping, provided by
6261
username 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

6665
The ``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
7271
If user provider didn't return User, it has to throw ``UsernameNotFoundException`` and in that case
7372
user 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

7776
You 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

Comments
 (0)