SAMLProcessingFilter, like any other filters extending AbstractAuthenticationProcessingFilter, should respect what has been setted with setAuthenticationDetailsSource.
The value in this.authenticationDetailsSource is completely ignored by this filter.
Furthermore, SAMLAuthenticationProvider drops the authenticationDetails information provided within the Authentication argument in the authenticate method, setting the details of the returned Authentication object with userDetails variable value, but this value is already retrievable by calling getPrincipal on the returned Authentication.
SAMLProcessingFilter
, like any other filters extendingAbstractAuthenticationProcessingFilter
, should respect what has been setted withsetAuthenticationDetailsSource
.The value in this.authenticationDetailsSource is completely ignored by this filter. Furthermore,
SAMLAuthenticationProvider
drops the authenticationDetails information provided within theAuthentication
argument in theauthenticate
method, setting the details of the returnedAuthentication
object withuserDetails
variable value, but this value is already retrievable by callinggetPrincipal
on the returnedAuthentication
.