Ensure all files end with a new line
Update all files to ensure that they always end with a new-line character. Issue gh-8945
This commit is contained in:
parent
218480fb7c
commit
4d487e8dc3
|
@ -142,4 +142,4 @@ final class DefaultServiceAuthenticationDetails extends WebAuthenticationDetails
|
|||
return port;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -38,4 +38,4 @@ public interface ServiceAuthenticationDetails extends Serializable {
|
|||
*/
|
||||
String getServiceUrl();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -79,4 +79,4 @@ public class ServiceAuthenticationDetailsSource
|
|||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -38,4 +38,4 @@ public interface ObjectPostProcessor<T> {
|
|||
*/
|
||||
<O extends T> O postProcess(O object);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -57,4 +57,4 @@ class GlobalMethodSecurityAspectJAutoProxyRegistrar implements ImportBeanDefinit
|
|||
registry.registerBeanDefinition("annotationSecurityAspect$0", aspect.getBeanDefinition());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -92,4 +92,4 @@ final class PermitAllSupport {
|
|||
private PermitAllSupport() {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -60,4 +60,4 @@ public class SecurityDebugBeanFactoryPostProcessor implements BeanDefinitionRegi
|
|||
public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,4 +28,4 @@ public interface UserRepository extends CrudRepository<User, String> {
|
|||
@PreAuthorize("hasRole('ROLE_ADMIN')")
|
||||
User findByUsername(String username);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -134,4 +134,4 @@ public class WebMvcSecurityConfigurationTests {
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,4 +42,4 @@ public class WebConfigUtilsTests {
|
|||
verifyZeroInteractions(this.parserContext);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,4 +29,4 @@ public class PreAuthorizeServiceImpl {
|
|||
public void contactPermission(Contact contact) {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -70,4 +70,4 @@ public class PreAuthorizeTests {
|
|||
this.service.contactPermission(new Contact("admin"));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,4 +28,4 @@ import org.springframework.security.access.annotation.Secured;
|
|||
@Secured("ROLE_ADMIN")
|
||||
public @interface SecuredAdminRole {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -56,4 +56,4 @@ public class SecuredTests {
|
|||
this.service.securedAdminRole();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,4 +49,4 @@ public class Sec2499Tests {
|
|||
this.child.refresh();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,4 +36,4 @@ public class Jsr250SecurityConfig extends SecurityConfig {
|
|||
super(role);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,4 +46,4 @@ public @interface P {
|
|||
*/
|
||||
String value();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -44,4 +44,4 @@ public class InternalAuthenticationServiceException extends AuthenticationServic
|
|||
super(message);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,4 +30,4 @@ public interface ReactiveAuthenticationManagerResolver<C> {
|
|||
|
||||
Mono<ReactiveAuthenticationManager> resolve(C context);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -89,4 +89,4 @@ public class InMemoryConfiguration extends Configuration {
|
|||
public void refresh() {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -66,4 +66,4 @@ public class DelegatingSecurityContextExecutor extends AbstractDelegatingSecurit
|
|||
return this.delegate;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,7 +20,3 @@
|
|||
* @since 4.2
|
||||
*/
|
||||
package org.springframework.security.jackson2;
|
||||
|
||||
/**
|
||||
* Package contains Jackson mixin classes.
|
||||
*/
|
|
@ -51,4 +51,4 @@ public class DelegatingSecurityContextTaskExecutor extends DelegatingSecurityCon
|
|||
this(delegate, null);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,4 +19,4 @@ public interface CrudRepository {
|
|||
|
||||
Iterable<Object> findAll();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,4 +29,4 @@ import org.springframework.security.access.prepost.PreAuthorize;
|
|||
@PreAuthorize("hasRole('ROLE_PERSON')")
|
||||
public interface PersonRepository extends CrudRepository {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,4 +40,4 @@ public class CurrentDelegatingSecurityContextExecutorServiceTests
|
|||
return new DelegatingSecurityContextExecutorService(this.delegate);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,4 +40,4 @@ public class ExplicitDelegatingSecurityContextExecutorServiceTests
|
|||
return new DelegatingSecurityContextExecutorService(this.delegate, this.securityContext);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,4 +40,4 @@ public class ExplicitDelegatingSecurityContextScheduledExecutorServiceTests
|
|||
return new DelegatingSecurityContextScheduledExecutorService(this.delegate, this.securityContext);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,4 +24,4 @@ public interface StringKeyGenerator {
|
|||
|
||||
String generateKey();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -75,4 +75,4 @@ public class SecurityEvaluationContextExtensionTests {
|
|||
return this.securityExtension.getRootObject();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
|
||||
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
|
||||
<suppressions>
|
||||
<suppress files=".*" checks="NewlineAtEndOfFile" />
|
||||
<suppress files=".*" checks="NonEmptyAtclauseDescription" />
|
||||
<suppress files=".*" checks="NoWhitespaceBefore" />
|
||||
<suppress files=".*" checks="OneTopLevelClass" />
|
||||
|
|
|
@ -21,4 +21,4 @@ public class StubUserRepository implements UserRepository {
|
|||
public void doSomething() {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -60,4 +60,4 @@ public final class AndMessageMatcher<T> extends AbstractMessageMatcherComposite<
|
|||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,4 +50,4 @@ public class BasicAuthenticationDecoderTests {
|
|||
assertThat(actualCredentials).isEqualToComparingFieldByField(expectedCredentials);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -43,4 +43,4 @@ final class WithAnonymousUserSecurityContextFactory implements WithSecurityConte
|
|||
return context;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,4 +41,4 @@ public interface WithSecurityContextFactory<A extends Annotation> {
|
|||
*/
|
||||
SecurityContext createSecurityContext(A annotation);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,4 +78,4 @@ public class CustomUserDetails implements UserDetails {
|
|||
return "CustomUserDetails{" + "username='" + this.username + '\'' + '}';
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,4 +23,4 @@ import org.springframework.security.test.context.support.WithMockUser;
|
|||
@WithMockUser
|
||||
public class WithMockUserParent {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -60,4 +60,4 @@ public class WithMockUserParentTests extends WithMockUserParent {
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -90,4 +90,4 @@ public class WithMockUserTests {
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -103,4 +103,4 @@ public class SecurityMockMvcRequestPostProcessorsAuthenticationStatelessTests {
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -101,4 +101,4 @@ public class SecurityMockMvcRequestPostProcessorsTestSecurityContextStatelessTes
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -110,4 +110,4 @@ public class DefaultfSecurityRequestsTests {
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -133,4 +133,4 @@ public class SecurityRequestsTests {
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -111,4 +111,4 @@ public class WithUserAuthenticationTests {
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -111,4 +111,4 @@ public class WithUserClassLevelAuthenticationTests {
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -55,4 +55,4 @@ public final class CompositeLogoutHandler implements LogoutHandler {
|
|||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -158,4 +158,4 @@ abstract class AbstractSessionFixationProtectionStrategy
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -86,4 +86,4 @@ public class CompositeSessionAuthenticationStrategy implements SessionAuthentica
|
|||
return getClass().getName() + " [delegateStrategies = " + this.delegateStrategies + "]";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -56,4 +56,4 @@ public final class WebAsyncManagerIntegrationFilter extends OncePerRequestFilter
|
|||
filterChain.doFilter(request, response);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,4 +30,4 @@ public class CsrfException extends AccessDeniedException {
|
|||
super(message);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,4 +54,4 @@ public final class CsrfLogoutHandler implements LogoutHandler {
|
|||
this.csrfTokenRepository.saveToken(null, request, response);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -47,4 +47,4 @@ public interface CsrfToken extends Serializable {
|
|||
*/
|
||||
String getToken();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,4 +37,4 @@ public class InvalidCsrfTokenException extends CsrfException {
|
|||
+ "'.");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,4 +28,4 @@ public class MissingCsrfTokenException extends CsrfException {
|
|||
super("Could not verify the provided CSRF token because your session was not found.");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,4 +19,4 @@
|
|||
* To use, simply add the {@code JaasApiIntegrationFilter} to the Spring Security filter
|
||||
* chain.
|
||||
*/
|
||||
package org.springframework.security.web.jaasapi;
|
||||
package org.springframework.security.web.jaasapi;
|
||||
|
|
|
@ -19,4 +19,4 @@
|
|||
* @author Jitendra Singh
|
||||
* @since 4.2
|
||||
*/
|
||||
package org.springframework.security.web.jackson2;
|
||||
package org.springframework.security.web.jackson2;
|
||||
|
|
|
@ -50,4 +50,4 @@ public final class InvalidSessionAccessDeniedHandler implements AccessDeniedHand
|
|||
this.invalidSessionStrategy.onInvalidSessionDetected(request, response);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,4 +78,4 @@ public final class AndRequestMatcher implements RequestMatcher {
|
|||
return "AndRequestMatcher [requestMatchers=" + this.requestMatchers + "]";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -272,4 +272,4 @@ public final class MediaTypeRequestMatcher implements RequestMatcher {
|
|||
+ ", ignoredMediaTypes=" + this.ignoredMediaTypes + "]";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -60,4 +60,4 @@ public class NegatedRequestMatcher implements RequestMatcher {
|
|||
return "NegatedRequestMatcher [requestMatcher=" + this.requestMatcher + "]";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,4 +78,4 @@ public final class OrRequestMatcher implements RequestMatcher {
|
|||
return "OrRequestMatcher [requestMatchers=" + this.requestMatchers + "]";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -61,4 +61,4 @@ public class HttpStatusEntryPointTests {
|
|||
assertThat(this.response.getStatus()).isEqualTo(HttpStatus.UNAUTHORIZED.value());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -152,4 +152,4 @@ public class MediaTypeRequestMatcherRequestHCNSTests {
|
|||
assertThat(matcher.matches(this.request)).isFalse();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue