mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-08 18:41:37 +00:00
Fix checkstyle violations
This commit is contained in:
+8
-8
@@ -101,6 +101,14 @@ public class SampleSecureWebFluxCustomSecurityTests {
|
||||
.expectStatus().isOk();
|
||||
}
|
||||
|
||||
private String getBasicAuth() {
|
||||
return new String(Base64.getEncoder().encode(("user:password").getBytes()));
|
||||
}
|
||||
|
||||
private String getBasicAuthForAdmin() {
|
||||
return new String(Base64.getEncoder().encode(("admin:admin").getBytes()));
|
||||
}
|
||||
|
||||
@Configuration
|
||||
static class SecurityConfiguration {
|
||||
|
||||
@@ -128,12 +136,4 @@ public class SampleSecureWebFluxCustomSecurityTests {
|
||||
|
||||
}
|
||||
|
||||
private String getBasicAuth() {
|
||||
return new String(Base64.getEncoder().encode(("user:password").getBytes()));
|
||||
}
|
||||
|
||||
private String getBasicAuthForAdmin() {
|
||||
return new String(Base64.getEncoder().encode(("admin:admin").getBytes()));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user