Separating security into a part that depends only on the JPA and into a
authorerik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Sat, 24 Apr 2010 18:54:12 +0000 (18:54 +0000)
committererik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Sat, 24 Apr 2010 18:54:12 +0000 (18:54 +0000)
commit4565fa62b5e77ce0ffbac381bc0ef1813da94af7
treebebc15b0be22141ba229ee499e8992b8a97a80de
parentea47b648b77ecdb3bb2232a61c460c91f0a65b4e
Separating security into a part that depends only on the JPA and into a
the tests that require a specific implementation.
Reason is that current JPA 2.0 implementations are not available on the
central maven repo so removing a dependency on them in the pom allows
the security stuff to be still published in the central maven repo.
94 files changed:
security/impl/pom.xml [new file with mode: 0644]
security/impl/src/main/java/org/wamblee/security/authorization/AllOperation.java [moved from security/src/main/java/org/wamblee/security/authorization/AllOperation.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/AnyUserCondition.java [moved from security/src/main/java/org/wamblee/security/authorization/AnyUserCondition.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/AuthorizationException.java [moved from security/src/main/java/org/wamblee/security/authorization/AuthorizationException.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/AuthorizationInitializer.java [moved from security/src/main/java/org/wamblee/security/authorization/AuthorizationInitializer.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/AuthorizationResult.java [moved from security/src/main/java/org/wamblee/security/authorization/AuthorizationResult.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/AuthorizationRule.java [moved from security/src/main/java/org/wamblee/security/authorization/AuthorizationRule.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/AuthorizationService.java [moved from security/src/main/java/org/wamblee/security/authorization/AuthorizationService.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/CreateOperation.java [moved from security/src/main/java/org/wamblee/security/authorization/CreateOperation.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/DefaultAuthorizationService.java [moved from security/src/main/java/org/wamblee/security/authorization/DefaultAuthorizationService.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/DefaultOperationRegistry.java [moved from security/src/main/java/org/wamblee/security/authorization/DefaultOperationRegistry.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/DeleteOperation.java [moved from security/src/main/java/org/wamblee/security/authorization/DeleteOperation.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/GroupUserCondition.java [moved from security/src/main/java/org/wamblee/security/authorization/GroupUserCondition.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/IsaOperationCondition.java [moved from security/src/main/java/org/wamblee/security/authorization/IsaOperationCondition.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/Operation.java [moved from security/src/main/java/org/wamblee/security/authorization/Operation.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/OperationCondition.java [moved from security/src/main/java/org/wamblee/security/authorization/OperationCondition.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/OperationRegistry.java [moved from security/src/main/java/org/wamblee/security/authorization/OperationRegistry.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/PathCondition.java [moved from security/src/main/java/org/wamblee/security/authorization/PathCondition.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/ReadOperation.java [moved from security/src/main/java/org/wamblee/security/authorization/ReadOperation.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/RegexpPathCondition.java [moved from security/src/main/java/org/wamblee/security/authorization/RegexpPathCondition.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/StartsWithPathCondition.java [moved from security/src/main/java/org/wamblee/security/authorization/StartsWithPathCondition.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/UrlAuthorizationRule.java [moved from security/src/main/java/org/wamblee/security/authorization/UrlAuthorizationRule.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/UserCondition.java [moved from security/src/main/java/org/wamblee/security/authorization/UserCondition.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/WriteOperation.java [moved from security/src/main/java/org/wamblee/security/authorization/WriteOperation.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/hibernate/AuthorizationMappingFiles.java [moved from security/src/main/java/org/wamblee/security/authorization/hibernate/AuthorizationMappingFiles.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/authorization/hibernate/PersistentAuthorizationService.java [moved from security/src/main/java/org/wamblee/security/authorization/hibernate/PersistentAuthorizationService.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/encryption/Md5HexMessageDigester.java [moved from security/src/main/java/org/wamblee/security/encryption/Md5HexMessageDigester.java with 100% similarity]
security/impl/src/main/java/org/wamblee/security/encryption/MessageDigester.java [moved from security/src/main/java/org/wamblee/security/encryption/MessageDigester.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/AbstractUserSet.java [moved from security/src/main/java/org/wamblee/usermgt/AbstractUserSet.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/Group.java [moved from security/src/main/java/org/wamblee/usermgt/Group.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/GroupSet.java [moved from security/src/main/java/org/wamblee/usermgt/GroupSet.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/InMemoryGroupSet.java [moved from security/src/main/java/org/wamblee/usermgt/InMemoryGroupSet.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/InMemoryUserSet.java [moved from security/src/main/java/org/wamblee/usermgt/InMemoryUserSet.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/JaasUserAccessor.java [moved from security/src/main/java/org/wamblee/usermgt/JaasUserAccessor.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/NameValidator.java [moved from security/src/main/java/org/wamblee/usermgt/NameValidator.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/RegexpNameValidator.java [moved from security/src/main/java/org/wamblee/usermgt/RegexpNameValidator.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/User.java [moved from security/src/main/java/org/wamblee/usermgt/User.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/UserAccessor.java [moved from security/src/main/java/org/wamblee/usermgt/UserAccessor.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/UserAdminInitializer.java [moved from security/src/main/java/org/wamblee/usermgt/UserAdminInitializer.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/UserAdministration.java [moved from security/src/main/java/org/wamblee/usermgt/UserAdministration.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/UserAdministrationImpl.java [moved from security/src/main/java/org/wamblee/usermgt/UserAdministrationImpl.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/UserGroupRepositoryComponent.java [moved from security/src/main/java/org/wamblee/usermgt/UserGroupRepositoryComponent.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/UserMgtException.java [moved from security/src/main/java/org/wamblee/usermgt/UserMgtException.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/UserSet.java [moved from security/src/main/java/org/wamblee/usermgt/UserSet.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/hibernate/AuthorizationComponent.java [moved from security/src/main/java/org/wamblee/usermgt/hibernate/AuthorizationComponent.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/hibernate/AuthorizationLightComponent.java [moved from security/src/main/java/org/wamblee/usermgt/hibernate/AuthorizationLightComponent.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/hibernate/HibernateGroupSet.java [moved from security/src/main/java/org/wamblee/usermgt/hibernate/HibernateGroupSet.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/hibernate/HibernateUserSet.java [moved from security/src/main/java/org/wamblee/usermgt/hibernate/HibernateUserSet.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/hibernate/UserAdministrationComponent.java [moved from security/src/main/java/org/wamblee/usermgt/hibernate/UserAdministrationComponent.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/hibernate/UserAdministrationLightComponent.java [moved from security/src/main/java/org/wamblee/usermgt/hibernate/UserAdministrationLightComponent.java with 100% similarity]
security/impl/src/main/java/org/wamblee/usermgt/hibernate/UsermgtHibernateMappingFiles.java [moved from security/src/main/java/org/wamblee/usermgt/hibernate/UsermgtHibernateMappingFiles.java with 100% similarity]
security/impl/src/main/resources/hbm/AuthorizationRule.hbm.xml [moved from security/src/main/resources/hbm/AuthorizationRule.hbm.xml with 100% similarity]
security/impl/src/main/resources/hbm/AuthorizationService.hbm.xml [moved from security/src/main/resources/hbm/AuthorizationService.hbm.xml with 100% similarity]
security/impl/src/main/resources/hbm/Group.hbm.xml [moved from security/src/main/resources/hbm/Group.hbm.xml with 100% similarity]
security/impl/src/main/resources/hbm/OperationCondition.hbm.xml [moved from security/src/main/resources/hbm/OperationCondition.hbm.xml with 100% similarity]
security/impl/src/main/resources/hbm/OperationCondition.hbm.xmlxx [moved from security/src/main/resources/hbm/OperationCondition.hbm.xmlxx with 100% similarity]
security/impl/src/main/resources/hbm/PageAuthorizationRule.hbm.xml [moved from security/src/main/resources/hbm/PageAuthorizationRule.hbm.xml with 100% similarity]
security/impl/src/main/resources/hbm/PathCondition.hbm.xml [moved from security/src/main/resources/hbm/PathCondition.hbm.xml with 100% similarity]
security/impl/src/main/resources/hbm/PhotoAuthorizationRule.hbm.xml [moved from security/src/main/resources/hbm/PhotoAuthorizationRule.hbm.xml with 100% similarity]
security/impl/src/main/resources/hbm/TestAuthorizationRule.hbm.xml [moved from security/src/main/resources/hbm/TestAuthorizationRule.hbm.xml with 100% similarity]
security/impl/src/main/resources/hbm/User.hbm.xml [moved from security/src/main/resources/hbm/User.hbm.xml with 100% similarity]
security/impl/src/main/resources/hbm/UserCondition.hbm.xml [moved from security/src/main/resources/hbm/UserCondition.hbm.xml with 100% similarity]
security/impl/src/main/resources/hbm/ehcache.xml [moved from security/src/main/resources/hbm/ehcache.xml with 100% similarity]
security/impl/src/main/resources/hbm/hibernate.properties [moved from security/src/main/resources/hbm/hibernate.properties with 100% similarity]
security/impl/src/main/resources/properties/org.wamblee.security.ehcache.xml [moved from security/src/main/resources/properties/org.wamblee.security.ehcache.xml with 100% similarity]
security/impl/src/main/resources/spring/org.wamblee.security.authorization.xml [moved from security/src/main/resources/spring/org.wamblee.security.authorization.xml with 100% similarity]
security/impl/src/main/resources/spring/org.wamblee.security.usermgt-repositories.xml [moved from security/src/main/resources/spring/org.wamblee.security.usermgt-repositories.xml with 100% similarity]
security/impl/src/main/resources/spring/org.wamblee.security.usermgt.xml [moved from security/src/main/resources/spring/org.wamblee.security.usermgt.xml with 100% similarity]
security/impl/src/test/java/org/wamblee/security/authorization/AuthorizationServiceTest.java [moved from security/src/test/java/org/wamblee/security/authorization/AuthorizationServiceTest.java with 100% similarity]
security/impl/src/test/java/org/wamblee/security/authorization/DefaultOperationRegistryTest.java [moved from security/src/test/java/org/wamblee/security/authorization/DefaultOperationRegistryTest.java with 100% similarity]
security/impl/src/test/java/org/wamblee/security/authorization/RegexpPathConditionTest.java [moved from security/src/test/java/org/wamblee/security/authorization/RegexpPathConditionTest.java with 100% similarity]
security/impl/src/test/java/org/wamblee/security/authorization/StartsWithPathConditionTest.java [moved from security/src/test/java/org/wamblee/security/authorization/StartsWithPathConditionTest.java with 100% similarity]
security/impl/src/test/java/org/wamblee/security/authorization/TestAuthorizationRule.java [moved from security/src/test/java/org/wamblee/security/authorization/TestAuthorizationRule.java with 100% similarity]
security/impl/src/test/java/org/wamblee/security/authorization/TestResource.java [moved from security/src/test/java/org/wamblee/security/authorization/TestResource.java with 100% similarity]
security/impl/src/test/java/org/wamblee/security/authorization/TestUserAccessor.java [moved from security/src/test/java/org/wamblee/security/authorization/TestUserAccessor.java with 100% similarity]
security/impl/src/test/java/org/wamblee/security/authorization/UrlAuthorizationRuleTest.java [moved from security/src/test/java/org/wamblee/security/authorization/UrlAuthorizationRuleTest.java with 100% similarity]
security/impl/src/test/java/org/wamblee/security/authorization/hibernate/PersistentAuthorizationServiceTest.java [moved from security/src/test/java/org/wamblee/security/authorization/hibernate/PersistentAuthorizationServiceTest.java with 100% similarity]
security/impl/src/test/java/org/wamblee/security/encryption/MessageDigesterTest.java [moved from security/src/test/java/org/wamblee/security/encryption/MessageDigesterTest.java with 100% similarity]
security/impl/src/test/java/org/wamblee/usermgt/InMemoryGroupSetTest.java [moved from security/src/test/java/org/wamblee/usermgt/InMemoryGroupSetTest.java with 100% similarity]
security/impl/src/test/java/org/wamblee/usermgt/InMemoryUserSetTest.java [moved from security/src/test/java/org/wamblee/usermgt/InMemoryUserSetTest.java with 100% similarity]
security/impl/src/test/java/org/wamblee/usermgt/UserAdministrationImplTest.java [moved from security/src/test/java/org/wamblee/usermgt/UserAdministrationImplTest.java with 100% similarity]
security/impl/src/test/java/org/wamblee/usermgt/UsermgtTestUtils.java [moved from security/src/test/java/org/wamblee/usermgt/UsermgtTestUtils.java with 100% similarity]
security/impl/src/test/java/org/wamblee/usermgt/hibernate/HibernateGroupSetTest.java [moved from security/src/test/java/org/wamblee/usermgt/hibernate/HibernateGroupSetTest.java with 100% similarity]
security/impl/src/test/java/org/wamblee/usermgt/hibernate/HibernateUserAdministrationTest.java [moved from security/src/test/java/org/wamblee/usermgt/hibernate/HibernateUserAdministrationTest.java with 100% similarity]
security/impl/src/test/java/org/wamblee/usermgt/hibernate/HibernateUserSetTest.java [moved from security/src/test/java/org/wamblee/usermgt/hibernate/HibernateUserSetTest.java with 100% similarity]
security/impl/src/test/java/org/wamblee/usermgt/hibernate/UserMgtRepositoryTestContainer.java [moved from security/src/test/java/org/wamblee/usermgt/hibernate/UserMgtRepositoryTestContainer.java with 100% similarity]
security/impl/src/test/resources/properties/test.org.wamblee.security.database.properties [moved from security/src/test/resources/properties/test.org.wamblee.security.database.properties with 100% similarity]
security/impl/src/test/resources/properties/test.org.wamblee.security.usermgt.properties [moved from security/src/test/resources/properties/test.org.wamblee.security.usermgt.properties with 100% similarity]
security/impl/src/test/resources/spring/test.org.wamblee.security.datasource.xml [moved from security/src/test/resources/spring/test.org.wamblee.security.datasource.xml with 100% similarity]
security/impl/src/test/resources/spring/test.org.wamblee.security.properties.xml [moved from security/src/test/resources/spring/test.org.wamblee.security.properties.xml with 100% similarity]
security/impl/src/test/resources/spring/test.org.wamblee.security.useraccessor.xml [moved from security/src/test/resources/spring/test.org.wamblee.security.useraccessor.xml with 100% similarity]
security/impl/src/test/resources/spring/test.org.wamblee.security.usermgtinitializer.xml [moved from security/src/test/resources/spring/test.org.wamblee.security.usermgtinitializer.xml with 100% similarity]
security/jpatest/pom.xml [new file with mode: 0644]
security/pom.xml