|
|
|
@ -175,8 +175,7 @@ public final class OAuth2TokenEndpointFilter extends OncePerRequestFilter { |
|
|
|
* |
|
|
|
* |
|
|
|
* @param authenticationDetailsSource the {@link AuthenticationDetailsSource} used for building an authentication details instance from {@link HttpServletRequest} |
|
|
|
* @param authenticationDetailsSource the {@link AuthenticationDetailsSource} used for building an authentication details instance from {@link HttpServletRequest} |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void setAuthenticationDetailsSource( |
|
|
|
public void setAuthenticationDetailsSource(AuthenticationDetailsSource<HttpServletRequest, ?> authenticationDetailsSource) { |
|
|
|
AuthenticationDetailsSource<HttpServletRequest, ?> authenticationDetailsSource) { |
|
|
|
|
|
|
|
Assert.notNull(authenticationDetailsSource, "authenticationDetailsSource cannot be null"); |
|
|
|
Assert.notNull(authenticationDetailsSource, "authenticationDetailsSource cannot be null"); |
|
|
|
this.authenticationDetailsSource = authenticationDetailsSource; |
|
|
|
this.authenticationDetailsSource = authenticationDetailsSource; |
|
|
|
} |
|
|
|
} |
|
|
|
|