Fix checkstyle violations
This commit is contained in:
@@ -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