Browse Source

Allow GrantedAuthorities Static Import

Josh Cummings 2 days ago
parent
commit
e95a89bfe5
1 changed files with 2 additions and 1 deletions
  1. 2 1
      config/checkstyle/checkstyle.xml

+ 2 - 1
config/checkstyle/checkstyle.xml

@@ -7,7 +7,8 @@
 		<property name="file" value="${config_loc}/suppressions.xml"/>
 	</module>
 	<module name="io.spring.javaformat.checkstyle.SpringChecks">
-		<property name="avoidStaticImportExcludes" value="org.springframework.security.test.web.reactive.server.SecurityMockServerConfigurers.*,
+		<property name="avoidStaticImportExcludes" value="org.springframework.security.core.GrantedAuthorities.*,
+			org.springframework.security.test.web.reactive.server.SecurityMockServerConfigurers.*,
 			org.springframework.security.oauth2.client.web.reactive.function.client.ServerOAuth2AuthorizedClientExchangeFilterFunction.*,
 			org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction.*,
 			org.springframework.security.test.web.servlet.response.SecurityMockMvcResultMatchers.*" />