Class OAuth2ResourceSecurityConfiguration
java.lang.Object
com.broadleafcommerce.oauth2.resource.security.autoconfiguration.OAuth2ResourceSecurityConfiguration
@Configuration
@EnableConfigurationProperties(OAuth2ResourceSecurityProperties.class)
public class OAuth2ResourceSecurityConfiguration
extends Object
- Author:
- Nick Crum (ncrum)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.convert.converter.Converter<org.springframework.security.core.Authentication,
Map<String, Object>> org.springframework.security.oauth2.jwt.JwtDecoder
jwtDecoder
(org.springframework.core.env.Environment environment, org.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt> validator, OAuth2ResourceSecurityProperties properties)
-
Constructor Details
-
OAuth2ResourceSecurityConfiguration
public OAuth2ResourceSecurityConfiguration()
-
-
Method Details
-
authenticationAttributesConverter
-
jwtDecoder
@Bean @ConditionalOnMissingBean(name="jwtDecoder") @RefreshScope public org.springframework.security.oauth2.jwt.JwtDecoder jwtDecoder(org.springframework.core.env.Environment environment, @Nullable org.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt> validator, OAuth2ResourceSecurityProperties properties)
-