Skip to content

Commit 48a6da7

Browse files
author
Domonkos Gulyas
committed
Rename DemoAuthCondition
1 parent 92b3791 commit 48a6da7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/phoebus/channelfinder/configuration/WebSecurityConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public AuthenticationProvider embeddedLdapAuthProvider() {
147147
}
148148

149149
@Bean
150-
@Conditional(EmbeddedLdapCondition.class)
150+
@Conditional(DemoAuthCondition.class)
151151
public AuthenticationProvider demoAuthProvider() {
152152

153153
InMemoryUserDetailsManager manager = new InMemoryUserDetailsManager();
@@ -174,7 +174,7 @@ public PasswordEncoder encoder() {
174174
return new BCryptPasswordEncoder();
175175
}
176176

177-
private static class EmbeddedLdapCondition implements Condition {
177+
private static class DemoAuthCondition implements Condition {
178178

179179
@Override
180180
public boolean matches(ConditionContext context, AnnotatedTypeMetadata metadata) {

0 commit comments

Comments
 (0)