SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
--
-- Database: `acl`
--
-- --------------------------------------------------------
--
-- Table structure for table `ACL_CLASS`
--
CREATE TABLE IF NOT EXISTS `ACL_CLASS` (
`ID` bigint(20) NOT NULL auto_increment,
`CLASS` varchar(100) NOT NULL,
PRIMARY KEY (`ID`),
UNIQUE KEY `UNIQUE_UK_2` (`CLASS`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
--
-- Dumping data for table `ACL_CLASS`
--
-- --------------------------------------------------------
--
-- Table structure for table `ACL_ENTRY`
--
CREATE TABLE IF NOT EXISTS `ACL_ENTRY` (
`ID` bigint(20) NOT NULL auto_increment,
`ACL_OBJECT_IDENTITY` bigint(20) NOT NULL,
`ACE_ORDER` int(11) NOT NULL,
`SID` bigint(20) NOT NULL,
`MASK` int(11) NOT NULL,
`GRANTING` tinyint(1) NOT NULL,
`AUDIT_SUCCESS` tinyint(1) NOT NULL,
`AUDIT_FAILURE` tinyint(1) NOT NULL,
PRIMARY KEY (`ID`),
UNIQUE KEY `UNIQUE_UK_4` (`ACL_OBJECT_IDENTITY`,`ACE_ORDER`),
KEY `SID` (`SID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
--
-- Dumping data for table `ACL_ENTRY`
--
-- --------------------------------------------------------
--
-- Table structure for table `ACL_OBJECT_IDENTITY`
--
CREATE TABLE IF NOT EXISTS `ACL_OBJECT_IDENTITY` (
`ID` bigint(20) NOT NULL auto_increment,
`OBJECT_ID_CLASS` bigint(20) NOT NULL,
`OBJECT_ID_IDENTITY` bigint(20) NOT NULL,
`PARENT_OBJECT` bigint(20) default NULL,
`OWNER_SID` bigint(20) default NULL,
`ENTRIES_INHERITING` tinyint(1) NOT NULL,
PRIMARY KEY (`ID`),
UNIQUE KEY `UNIQUE_UK_3` (`OBJECT_ID_CLASS`,`OBJECT_ID_IDENTITY`),
KEY `OWNER_SID` (`OWNER_SID`),
KEY `PARENT_OBJECT` (`PARENT_OBJECT`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
--
-- Dumping data for table `ACL_OBJECT_IDENTITY`
--
-- --------------------------------------------------------
--
-- Table structure for table `ACL_SID`
--
CREATE TABLE IF NOT EXISTS `ACL_SID` (
`ID` bigint(20) NOT NULL auto_increment,,
`PRINCIPAL` tinyint(1) NOT NULL,
`SID` varchar(100) NOT NULL,
PRIMARY KEY (`ID`),
UNIQUE KEY `UNIQUE_UK_1` (`PRINCIPAL`,`SID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
--
-- Dumping data for table `ACL_SID`
--
-- --------------------------------------------------------
--
-- Table structure for table `AUTHORITIES`
--
CREATE TABLE IF NOT EXISTS `AUTHORITIES` (
`USERNAME` varchar(50) NOT NULL,
`AUTHORITY` varchar(50) NOT NULL,
UNIQUE KEY `IX_AUTH_USERNAME` (`USERNAME`,`AUTHORITY`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `AUTHORITIES`
--
-- --------------------------------------------------------
--
-- Table structure for table `CONTACTS`
--
CREATE TABLE IF NOT EXISTS `CONTACTS` (
`ID` bigint(20) NOT NULL,
`CONTACT_NAME` varchar(50) NOT NULL,
`EMAIL` varchar(50) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `CONTACTS`
--
INSERT INTO `CONTACTS` (`ID`, `CONTACT_NAME`, `EMAIL`) VALUES
(1, 'John Smith', 'john@somewhere.com'),
(2, 'Michael Citizen', 'michael@xyz.com'),
(3, 'Joe Bloggs', 'joe@demo.com'),
(4, 'Karen Sutherland', 'karen@sutherland.com'),
(5, 'Mitchell Howard', 'mitchell@abcdef.com'),
(6, 'Rose Costas', 'rose@xyz.com'),
(7, 'Amanda Smith', 'amanda@abcdef.com'),
(8, 'Cindy Smith', 'cindy@smith.com'),
(9, 'Jonathan Citizen', 'jonathan@xyz.com');
-- --------------------------------------------------------
--
-- Table structure for table `USERS`
--
CREATE TABLE IF NOT EXISTS `USERS` (
`USERNAME` varchar(50) NOT NULL,
`PASSWORD` varchar(50) NOT NULL,
`ENABLED` bit(1) NOT NULL,
PRIMARY KEY (`USERNAME`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `ACL_ENTRY`
--
ALTER TABLE `ACL_ENTRY`
ADD CONSTRAINT `ACL_ENTRY_ibfk_1` FOREIGN KEY (`SID`) REFERENCES `ACL_SID` (`ID`),
ADD CONSTRAINT `ACL_ENTRY_ibfk_2` FOREIGN KEY (`ACL_OBJECT_IDENTITY`) REFERENCES `ACL_OBJECT_IDENTITY` (`ID`);
--
-- Constraints for table `ACL_OBJECT_IDENTITY`
--
ALTER TABLE `ACL_OBJECT_IDENTITY`
ADD CONSTRAINT `ACL_OBJECT_IDENTITY_ibfk_1` FOREIGN KEY (`OWNER_SID`) REFERENCES `ACL_SID` (`ID`),
ADD CONSTRAINT `ACL_OBJECT_IDENTITY_ibfk_2` FOREIGN KEY (`OBJECT_ID_CLASS`) REFERENCES `ACL_CLASS` (`ID`),
ADD CONSTRAINT `ACL_OBJECT_IDENTITY_ibfk_3` FOREIGN KEY (`PARENT_OBJECT`) REFERENCES `ACL_OBJECT_IDENTITY` (`ID`);
分享到:
相关推荐
spring-security-acl-2.0.4.jar
赠送jar包:spring-security-crypto-5.5.2.jar; 赠送原API文档:spring-security-crypto-5.5.2-javadoc.jar; 赠送源代码:spring-security-crypto-5.5.2-sources.jar; 赠送Maven依赖信息文件:spring-security-...
赠送jar包:spring-security-crypto-5.6.1.jar; 赠送原API文档:spring-security-crypto-5.6.1-javadoc.jar; 赠送源代码:spring-security-crypto-5.6.1-sources.jar; 赠送Maven依赖信息文件:spring-security-...
赠送jar包:spring-security-core-5.3.9.RELEASE.jar; 赠送原API文档:spring-security-core-5.3.9.RELEASE-javadoc.jar; 赠送源代码:spring-security-core-5.3.9.RELEASE-sources.jar; 赠送Maven依赖信息文件:...
赠送jar包:spring-security-rsa-1.0.10.RELEASE.jar; 赠送原API文档:spring-security-rsa-1.0.10.RELEASE-javadoc.jar; 赠送源代码:spring-security-rsa-1.0.10.RELEASE-sources.jar; 赠送Maven依赖信息文件:...
赠送jar包:spring-security-jwt-1.0.10.RELEASE.jar; 赠送原API文档:spring-security-jwt-1.0.10.RELEASE-javadoc.jar; 赠送源代码:spring-security-jwt-1.0.10.RELEASE-sources.jar; 赠送Maven依赖信息文件:...
赠送jar包:spring-security-oauth2-2.3.5.RELEASE.jar; 赠送原API文档:spring-security-oauth2-2.3.5.RELEASE-javadoc.jar; 赠送源代码:spring-security-oauth2-2.3.5.RELEASE-sources.jar; 赠送Maven依赖信息...
赠送jar包:spring-security-core-5.2.0.RELEASE.jar; 赠送原API文档:spring-security-core-5.2.0.RELEASE-javadoc.jar; 赠送源代码:spring-security-core-5.2.0.RELEASE-sources.jar; 赠送Maven依赖信息文件:...
赠送jar包:spring-security-core-5.5.2.jar; 赠送原API文档:spring-security-core-5.5.2-javadoc.jar; 赠送源代码:spring-security-core-5.5.2-sources.jar; 赠送Maven依赖信息文件:spring-security-core-...
赠送jar包:spring-security-core-5.0.7.RELEASE.jar; 赠送原API文档:spring-security-core-5.0.7.RELEASE-javadoc.jar; 赠送源代码:spring-security-core-5.0.7.RELEASE-sources.jar; 赠送Maven依赖信息文件:...
5. **spring-jdbc-3.1.2.RELEASE.jar**:提供了对JDBC的抽象层,使得Spring Security可以轻松地与数据库进行交互,如存储用户信息和权限数据。 6. **spring-security-core-3.1.2.RELEASE.jar**:Spring Security的...
赠送jar包:spring-security-oauth2-2.3.5.RELEASE.jar; 赠送原API文档:spring-security-oauth2-2.3.5.RELEASE-javadoc.jar; 赠送源代码:spring-security-oauth2-2.3.5.RELEASE-sources.jar; 赠送Maven依赖信息...
赠送jar包:spring-security-web-5.6.1.jar; 赠送原API文档:spring-security-web-5.6.1-javadoc.jar; 赠送源代码:spring-security-web-5.6.1-sources.jar; 赠送Maven依赖信息文件:spring-security-web-5.6.1....
spring-boot-security-saml, Spring Security saml与 Spring Boot的集成 spring-boot-security-saml这个项目在处理 spring-security-saml 和 Spring Boot 之间的平滑集成的同时,在处理内部的配置的gritty和锅炉板的...
赠送jar包:spring-security-core-5.6.1.jar; 赠送原API文档:spring-security-core-5.6.1-javadoc.jar; 赠送源代码:spring-security-core-5.6.1-sources.jar; 赠送Maven依赖信息文件:spring-security-core-...
赠送jar包:spring-security-web-5.2.0.RELEASE.jar; 赠送原API文档:spring-security-web-5.2.0.RELEASE-javadoc.jar; 赠送源代码:spring-security-web-5.2.0.RELEASE-sources.jar; 赠送Maven依赖信息文件:...
赠送jar包:spring-security-core-5.5.2.jar; 赠送原API文档:spring-security-core-5.5.2-javadoc.jar; 赠送源代码:spring-security-core-5.5.2-sources.jar; 赠送Maven依赖信息文件:spring-security-core-...
赠送jar包:spring-security-jwt-1.0.10.RELEASE.jar; 赠送原API文档:spring-security-jwt-1.0.10.RELEASE-javadoc.jar; 赠送源代码:spring-security-jwt-1.0.10.RELEASE-sources.jar; 赠送Maven依赖信息文件:...
赠送jar包:spring-security-config-5.0.7.RELEASE.jar; 赠送原API文档:spring-security-config-5.0.7.RELEASE-javadoc.jar; 赠送源代码:spring-security-config-5.0.7.RELEASE-sources.jar; 赠送Maven依赖信息...
spring-security-acl-2.0.4.jar spring-security-core-2.0.4.jar spring-security-core-tiger-2.0.4.jar spring-security-taglibs-2.0.4.jar spring-support-2.0.8.jar spring-web-2.0.8.jar spring-webmvc-2.0.8....