Add native hint for the users JDBC schema

Closes gh-11907
This commit is contained in:
Marcus Da Coregio
2022-09-29 09:42:37 -03:00
parent 88e4b8b556
commit ef879aadd6
2 changed files with 12 additions and 0 deletions

View File

@@ -131,4 +131,10 @@ class CoreSecurityRuntimeHintsTests {
LockedException.class, UsernameNotFoundException.class, ProviderNotFoundException.class);
}
@Test
void defaultJdbcSchemaFileHasHints() {
assertThat(RuntimeHintsPredicates.resource()
.forResource("org/springframework/security/core/userdetails/jdbc/users.ddl")).accepts(this.hints);
}
}