Spring Security jdbcAuthentication-Standardschemafehler unter PostgreSQL
Es ist wirklich unmöglich, das Standardschema für die Frühlingssicherheit unter PostgreSQL, dem Teil, zu verwenden"varchar_ignorecase" does not exist
kann nicht ersetzt werden?
Ich teste nur die Standardeinstellung.
auth.jdbcAuthentication()
.dataSource(dataSource)
.withDefaultSchema();
Und unten ist der Fehler
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.servlet.Filter org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration.springSecurityFilterChain() throws java.lang.Exception] threw exception; nested exception is org.springframework.jdbc.datasource.init.ScriptStatementFailedException: Failed to execute SQL script statement at line 1 of resource class path resource [org/springframework/security/core/userdetails/jdbc/users.ddl]: create table users(username varchar_ignorecase(50) not null primary key,password varchar_ignorecase(500) not null,enabled boolean not null); nested exception is org.postgresql.util.PSQLException: ERROR: type "varchar_ignorecase" does not exist