Moved over some of the security stuff from Photos.
authorerik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Sat, 22 Mar 2008 16:32:13 +0000 (16:32 +0000)
committererik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Sat, 22 Mar 2008 16:32:13 +0000 (16:32 +0000)
commit069df71756e2bc6a75aecbbcb99163f67e69dc96
tree741dcb41aebf8d853704437329950070f9c791bc
parent29c4db19d54bd27e7188a80d0b33c0eae71a8231
Moved over some of the security stuff from Photos.
90 files changed:
trunk/.classpath
trunk/pom.xml
trunk/security/pom.xml [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/AllOperation.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/AnyUserCondition.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/AuthorizationException.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/AuthorizationInitializer.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/AuthorizationResult.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/AuthorizationRule.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/AuthorizationService.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/CreateOperation.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/DefaultAuthorizationService.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/DefaultOperationRegistry.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/DeleteOperation.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/GroupUserCondition.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/IsaOperationCondition.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/Operation.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/OperationCondition.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/OperationRegistry.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/PathCondition.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/ReadOperation.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/RegexpPathCondition.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/StartsWithPathCondition.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/UrlAuthorizationRule.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/UserCondition.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/WriteOperation.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/authorization/hibernate/PersistentAuthorizationService.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/encryption/Md5HexMessageDigester.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/security/encryption/MessageDigester.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/usermgt/AbstractUserSet.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/usermgt/Group.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/usermgt/GroupSet.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/usermgt/InMemoryGroupSet.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/usermgt/InMemoryUserSet.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/usermgt/JaasUserAccessor.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/usermgt/NameValidator.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/usermgt/RegexpNameValidator.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/usermgt/User.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/usermgt/UserAccessor.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/usermgt/UserAdminInitializer.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/usermgt/UserAdministration.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/usermgt/UserAdministrationImpl.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/usermgt/UserMgtException.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/usermgt/UserSet.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/usermgt/hibernate/HibernateGroupSet.java [new file with mode: 0644]
trunk/security/src/main/java/org/wamblee/usermgt/hibernate/HibernateUserSet.java [new file with mode: 0644]
trunk/security/src/test/java/org/wamblee/security/authorization/AuthorizationServiceTest.java [new file with mode: 0644]
trunk/security/src/test/java/org/wamblee/security/authorization/DefaultOperationRegistryTest.java [new file with mode: 0644]
trunk/security/src/test/java/org/wamblee/security/authorization/RegexpPathConditionTest.java [new file with mode: 0644]
trunk/security/src/test/java/org/wamblee/security/authorization/StartsWithPathConditionTest.java [new file with mode: 0644]
trunk/security/src/test/java/org/wamblee/security/authorization/TestAuthorizationRule.java [new file with mode: 0644]
trunk/security/src/test/java/org/wamblee/security/authorization/TestResource.java [new file with mode: 0644]
trunk/security/src/test/java/org/wamblee/security/authorization/TestUserAccessor.java [new file with mode: 0644]
trunk/security/src/test/java/org/wamblee/security/authorization/UrlAuthorizationRuleTest.java [new file with mode: 0644]
trunk/security/src/test/java/org/wamblee/security/authorization/hibernate/AuthorizationMappingFiles.java [new file with mode: 0644]
trunk/security/src/test/java/org/wamblee/security/authorization/hibernate/AuthorizationSpringConfigFiles.java [new file with mode: 0644]
trunk/security/src/test/java/org/wamblee/security/authorization/hibernate/PersistentAuthorizationServiceTest.java [new file with mode: 0644]
trunk/security/src/test/java/org/wamblee/security/encryption/MessageDigesterTest.java [new file with mode: 0644]
trunk/security/src/test/java/org/wamblee/usermgt/InMemoryGroupSetTest.java [new file with mode: 0644]
trunk/security/src/test/java/org/wamblee/usermgt/InMemoryUserSetTest.java [new file with mode: 0644]
trunk/security/src/test/java/org/wamblee/usermgt/UserAdministrationImplTest.java [new file with mode: 0644]
trunk/security/src/test/java/org/wamblee/usermgt/UsermgtHibernateMappingFiles.java [new file with mode: 0644]
trunk/security/src/test/java/org/wamblee/usermgt/UsermgtSpringConfigFiles.java [new file with mode: 0644]
trunk/security/src/test/java/org/wamblee/usermgt/UsermgtTestUtils.java [new file with mode: 0644]
trunk/security/src/test/java/org/wamblee/usermgt/hibernate/HibernateGroupSetTest.java [new file with mode: 0644]
trunk/security/src/test/java/org/wamblee/usermgt/hibernate/HibernateUserAdministrationTest.java [new file with mode: 0644]
trunk/security/src/test/java/org/wamblee/usermgt/hibernate/HibernateUserSetTest.java [new file with mode: 0644]
trunk/security/src/test/resources/hbm/AuthorizationRule.hbm.xml [new file with mode: 0644]
trunk/security/src/test/resources/hbm/AuthorizationService.hbm.xml [new file with mode: 0644]
trunk/security/src/test/resources/hbm/Group.hbm.xml [new file with mode: 0644]
trunk/security/src/test/resources/hbm/OperationCondition.hbm.xml [new file with mode: 0644]
trunk/security/src/test/resources/hbm/OperationCondition.hbm.xmlxx [new file with mode: 0644]
trunk/security/src/test/resources/hbm/PageAuthorizationRule.hbm.xml [new file with mode: 0644]
trunk/security/src/test/resources/hbm/PathCondition.hbm.xml [new file with mode: 0644]
trunk/security/src/test/resources/hbm/PhotoAuthorizationRule.hbm.xml [new file with mode: 0644]
trunk/security/src/test/resources/hbm/TestAuthorizationRule.hbm.xml [new file with mode: 0644]
trunk/security/src/test/resources/hbm/User.hbm.xml [new file with mode: 0644]
trunk/security/src/test/resources/hbm/UserCondition.hbm.xml [new file with mode: 0644]
trunk/security/src/test/resources/hbm/ehcache.xml [new file with mode: 0644]
trunk/security/src/test/resources/hbm/hibernate.properties [new file with mode: 0644]
trunk/security/src/test/resources/properties/test.org.wamblee.security.database.properties [new file with mode: 0644]
trunk/security/src/test/resources/properties/test.org.wamblee.security.ehcache.xml [new file with mode: 0644]
trunk/security/src/test/resources/properties/test.org.wamblee.security.hibernate.properties [new file with mode: 0644]
trunk/security/src/test/resources/properties/test.org.wamblee.security.usermgt.properties [new file with mode: 0644]
trunk/security/src/test/resources/spring/test.org.wamblee.security.authorization.xml [new file with mode: 0644]
trunk/security/src/test/resources/spring/test.org.wamblee.security.database.xml [new file with mode: 0644]
trunk/security/src/test/resources/spring/test.org.wamblee.security.datasource.xml [new file with mode: 0644]
trunk/security/src/test/resources/spring/test.org.wamblee.security.properties.xml [new file with mode: 0644]
trunk/security/src/test/resources/spring/test.org.wamblee.security.usermgt.xml [new file with mode: 0644]
trunk/support/src/test/java/org/wamblee/test/SpringTestCase.java