Skip to content

Commit d7080d1

Browse files
author
Domonkos Gulyas
committed
Rename DemoAuthCondition
1 parent 9c5276b commit d7080d1

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
@@ -148,7 +148,7 @@ public AuthenticationProvider embeddedLdapAuthProvider() {
148148
}
149149

150150
@Bean
151-
@Conditional(EmbeddedLdapCondition.class)
151+
@Conditional(DemoAuthCondition.class)
152152
public AuthenticationProvider demoAuthProvider() {
153153

154154
InMemoryUserDetailsManager manager = new InMemoryUserDetailsManager();
@@ -175,7 +175,7 @@ public PasswordEncoder encoder() {
175175
return new BCryptPasswordEncoder();
176176
}
177177

178-
private static class EmbeddedLdapCondition implements Condition {
178+
private static class DemoAuthCondition implements Condition {
179179

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

0 commit comments

Comments
 (0)