Explorar el Código

Modified to ignore case sensitivity, as per the DAO Authentication Provider interface contract.

Ben Alex hace 21 años
padre
commit
b332c3bc03
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      hsqldb/acegisecurity.script

+ 1 - 0
hsqldb/acegisecurity.script

@@ -1,3 +1,4 @@
+SET IGNORECASE TRUE
 CREATE TABLE USERS(USERNAME VARCHAR(50) NOT NULL PRIMARY KEY,PASSWORD VARCHAR(50) NOT NULL,ENABLED BIT NOT NULL)
 CREATE TABLE AUTHORITIES(USERNAME VARCHAR(50) NOT NULL,AUTHORITY VARCHAR(50) NOT NULL,CONSTRAINT FK_AUTHORITIES_USERS FOREIGN KEY(USERNAME) REFERENCES USERS(USERNAME))
 CREATE UNIQUE INDEX IX_AUTH_USERNAME ON AUTHORITIES(USERNAME,AUTHORITY)