import static org.wamblee.security.authorization.AuthorizationResult.GRANTED;
import junit.framework.TestCase;
-import org.wamblee.persistence.hibernate.HibernateMappingFiles;
-import org.wamblee.test.spring.SpringTestCase;
-import org.wamblee.test.spring.SpringConfigFiles;
import org.wamblee.usermgt.UserAccessor;
/**
+++ /dev/null
-/*
- * Copyright 2005 the original author or authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.wamblee.security.authorization.hibernate;
-
-import org.wamblee.usermgt.UsermgtSpringConfigFiles;
-
-/**
- *
- *
- * @author Erik Brakkee
- */
-public class AuthorizationSpringConfigFiles extends UsermgtSpringConfigFiles {
-
- public AuthorizationSpringConfigFiles() {
- super(new String[] {
- "spring/test.org.wamblee.security.useraccessor.xml",
- "spring/test.org.wamblee.security.authorization.xml" });
- }
-
-}
import junit.framework.TestCase;
-import org.wamblee.persistence.hibernate.HibernateMappingFiles;
-import org.wamblee.test.spring.SpringTestCase;
-import org.wamblee.test.spring.SpringConfigFiles;
-
/**
* Tests the inmemory group set. Intended to be subclassed for other
* implementations of group set.
import junit.framework.TestCase;
-import org.wamblee.persistence.hibernate.HibernateMappingFiles;
import org.wamblee.security.encryption.Md5HexMessageDigester;
-import org.wamblee.test.spring.SpringTestCase;
-import org.wamblee.test.spring.SpringConfigFiles;
import org.wamblee.usermgt.UserMgtException.Reason;
/**
import junit.framework.TestCase;
import org.apache.log4j.Logger;
-import org.wamblee.persistence.hibernate.HibernateMappingFiles;
import org.wamblee.security.encryption.Md5HexMessageDigester;
-import org.wamblee.test.spring.SpringConfigFiles;
-import org.wamblee.test.spring.SpringTestCase;
import org.wamblee.usermgt.UserMgtException.Reason;
/**
+++ /dev/null
-/*
- * Copyright 2005 the original author or authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.wamblee.usermgt;
-
-import java.util.Collections;
-
-import org.wamblee.test.spring.SpringConfigFiles;
-
-/**
- * Spring config files for user management.
- *
- * @author Erik Brakkee
- */
-public class UsermgtSpringConfigFiles extends SpringConfigFiles {
-
- public UsermgtSpringConfigFiles() {
- super(new String[] { "spring/test.org.wamblee.security.properties.xml",
- "spring/test.org.wamblee.security.datasource.xml",
- "spring/test.org.wamblee.security.database.xml",
- "spring/test.org.wamblee.security.usermgt-repositories.xml",
- "spring/test.org.wamblee.security.usermgt.xml" });
- }
-
- public UsermgtSpringConfigFiles(String[] aFiles) {
- this();
- Collections.addAll(this, aFiles);
- }
-}
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.wamblee.cache.Cache;
import org.wamblee.cache.EhCache;
-import org.wamblee.general.BeanKernel;
import org.wamblee.system.adapters.DefaultContainer;
import org.wamblee.system.adapters.ObjectConfiguration;
import org.wamblee.system.core.Scope;
import org.wamblee.test.spring.TestTransactionCallbackWithoutResult;
import org.wamblee.usermgt.UserAdministration;
import org.wamblee.usermgt.UserAdministrationImplTest;
-import org.wamblee.usermgt.UsermgtSpringConfigFiles;
/**
* User administration tests with persistence based on Hibernate. This executes
import java.sql.SQLException;
import java.util.Set;
-import javax.sql.DataSource;
-
-import org.wamblee.cache.Cache;
import org.wamblee.cache.EhCache;
-import org.wamblee.general.BeanKernel;
import org.wamblee.system.adapters.DefaultContainer;
import org.wamblee.system.adapters.ObjectConfiguration;
import org.wamblee.system.core.Scope;
import org.wamblee.usermgt.User;
import org.wamblee.usermgt.UserMgtException;
import org.wamblee.usermgt.UserSet;
-import org.wamblee.usermgt.UsermgtSpringConfigFiles;
/**
* Tests for {@link org.wamblee.usermgt.hibernate.HibernateGroupSet}