Class DefaultOAuth2AuthorizationCodeRequestAuthenticationValidator

java.lang.Object
com.broadleafcommerce.auth.authorization.security.spring.DefaultOAuth2AuthorizationCodeRequestAuthenticationValidator
All Implemented Interfaces:
Consumer<org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationCodeRequestAuthenticationContext>

public class DefaultOAuth2AuthorizationCodeRequestAuthenticationValidator extends Object implements Consumer<org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationCodeRequestAuthenticationContext>
Authorization Code Request validator that does not validate scopes. Based on OAuth2AuthorizationCodeRequestAuthenticationValidator, this class still validates the redirect URI.

Scope validation is performed in ScopeNarrowingOAuth2AuthorizationCodeRequestAuthenticationProvider, after the user principal is evaluated.

Author:
Cade Rea (cade-rea)
See Also:
  • OAuth2AuthorizationCodeRequestAuthenticationValidator
  • Constructor Details

    • DefaultOAuth2AuthorizationCodeRequestAuthenticationValidator

      public DefaultOAuth2AuthorizationCodeRequestAuthenticationValidator()
  • Method Details

    • accept

      public void accept(org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationCodeRequestAuthenticationContext authenticationContext)
      Specified by:
      accept in interface Consumer<org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationCodeRequestAuthenticationContext>