Anchor |
---|
| Things that you should be aware of |
---|
| Things that you should be aware of |
---|
|
These notes pertain to the ssoX509SecurityContextPersistenceFilter and the ssoX509AuthenticationProcessingFilter.
- These filters are designed to work with either both Touchstone authentication and/or X509 Application Certificate authentication.
- Touchstone authentication always takes presidency over X509 Application Certificate authentication.
- For each http request based on X509 Application Certificate authentication, a new spring security context will be created when the request is received and destroyed when request is has been completed.
- For each http request based on Touchstone authentication:
- A check is made to see if there is an existing security context for the request.
- If there is no existing security context, then a new security context is created and will be saved when the request has been completed.
- If there is an existing security context, then existing security context is retrieve and a check is made to verify that the security context principal is identical to the Touchstone remote user.
- If the security context principal is different from the Touchstone remote user, then the existing security context is ignored, a new security context is created and will be destroyed when the request has been completed.
- If the security context principal is identical to the Touchstone remote user, then the existing security context is used and will saved when the request has been completed.
|