Move to annotation package to avoid jarsigner problems during deployment.

This commit is contained in:
Ben Alex 2006-05-29 22:22:50 +00:00
parent 22183648b3
commit 4fd3693df0
10 changed files with 22 additions and 22 deletions

View File

@ -21,13 +21,13 @@ import java.lang.reflect.Method;
import junit.framework.TestCase; import junit.framework.TestCase;
import org.acegisecurity.ConfigAttributeDefinition; import org.acegisecurity.ConfigAttributeDefinition;
import org.acegisecurity.Entity;
import org.acegisecurity.OrganisationService;
import org.acegisecurity.PersonService;
import org.acegisecurity.PersonServiceImpl;
import org.acegisecurity.SecurityConfig; import org.acegisecurity.SecurityConfig;
import org.acegisecurity.Service; import org.acegisecurity.annotation.test.Entity;
import org.acegisecurity.ServiceImpl; import org.acegisecurity.annotation.test.OrganisationService;
import org.acegisecurity.annotation.test.PersonService;
import org.acegisecurity.annotation.test.PersonServiceImpl;
import org.acegisecurity.annotation.test.Service;
import org.acegisecurity.annotation.test.ServiceImpl;
import org.acegisecurity.intercept.method.MethodDefinitionMap; import org.acegisecurity.intercept.method.MethodDefinitionMap;
import org.acegisecurity.intercept.method.MethodDefinitionSourceEditor; import org.acegisecurity.intercept.method.MethodDefinitionSourceEditor;
import org.aopalliance.intercept.MethodInvocation; import org.aopalliance.intercept.MethodInvocation;
@ -64,7 +64,7 @@ public class MethodDefinitionSourceEditorTigerTests extends TestCase {
throws Exception { throws Exception {
MethodDefinitionSourceEditor editor = new MethodDefinitionSourceEditor(); MethodDefinitionSourceEditor editor = new MethodDefinitionSourceEditor();
editor.setAsText( editor.setAsText(
"org.acegisecurity.Service.makeLower*=ROLE_FROM_INTERFACE\r\norg.acegisecurity.Service.makeUpper*=ROLE_FROM_INTERFACE\r\norg.acegisecurity.ServiceImpl.makeUpper*=ROLE_FROM_IMPLEMENTATION"); "org.acegisecurity.annotation.test.Service.makeLower*=ROLE_FROM_INTERFACE\r\norg.acegisecurity.annotation.test.Service.makeUpper*=ROLE_FROM_INTERFACE\r\norg.acegisecurity.annotation.test.ServiceImpl.makeUpper*=ROLE_FROM_IMPLEMENTATION");
MethodDefinitionMap map = (MethodDefinitionMap) editor.getValue(); MethodDefinitionMap map = (MethodDefinitionMap) editor.getValue();
assertEquals(3, map.getMethodMapSize()); assertEquals(3, map.getMethodMapSize());
@ -87,7 +87,7 @@ public class MethodDefinitionSourceEditorTigerTests extends TestCase {
throws Exception { throws Exception {
MethodDefinitionSourceEditor editor = new MethodDefinitionSourceEditor(); MethodDefinitionSourceEditor editor = new MethodDefinitionSourceEditor();
editor.setAsText( editor.setAsText(
"org.acegisecurity.Service.makeLower*=ROLE_FROM_INTERFACE\r\norg.acegisecurity.Service.makeUpper*=ROLE_FROM_INTERFACE\r\norg.acegisecurity.ServiceImpl.makeUpper*=ROLE_FROM_IMPLEMENTATION"); "org.acegisecurity.annotation.test.Service.makeLower*=ROLE_FROM_INTERFACE\r\norg.acegisecurity.annotation.test.Service.makeUpper*=ROLE_FROM_INTERFACE\r\norg.acegisecurity.annotation.test.ServiceImpl.makeUpper*=ROLE_FROM_IMPLEMENTATION");
MethodDefinitionMap map = (MethodDefinitionMap) editor.getValue(); MethodDefinitionMap map = (MethodDefinitionMap) editor.getValue();
assertEquals(3, map.getMethodMapSize()); assertEquals(3, map.getMethodMapSize());

View File

@ -13,7 +13,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.acegisecurity; package org.acegisecurity.annotation.test;
import org.springframework.util.Assert; import org.springframework.util.Assert;

View File

@ -13,7 +13,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.acegisecurity; package org.acegisecurity.annotation.test;
/** /**
* An extended version of <code>Entity</code>. * An extended version of <code>Entity</code>.

View File

@ -13,13 +13,13 @@
* limitations under the License. * limitations under the License.
*/ */
package org.acegisecurity; package org.acegisecurity.annotation.test;
/** /**
* DOCUMENT ME! * DOCUMENT ME!
* *
* @author $author$ * @author $author$
* @version $Revision$ * @version $Revision: 1496 $
*/ */
public interface OrganisationService extends Service<Organisation> { public interface OrganisationService extends Service<Organisation> {
//~ Methods ======================================================================================================== //~ Methods ========================================================================================================

View File

@ -13,13 +13,13 @@
* limitations under the License. * limitations under the License.
*/ */
package org.acegisecurity; package org.acegisecurity.annotation.test;
/** /**
* DOCUMENT ME! * DOCUMENT ME!
* *
* @author $author$ * @author $author$
* @version $Revision$ * @version $Revision: 1496 $
*/ */
public class OrganisationServiceImpl extends ServiceImpl<Organisation> implements OrganisationService { public class OrganisationServiceImpl extends ServiceImpl<Organisation> implements OrganisationService {
//~ Methods ======================================================================================================== //~ Methods ========================================================================================================

View File

@ -13,7 +13,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.acegisecurity; package org.acegisecurity.annotation.test;
/** /**
* An extended version of <code>Entity</code>. * An extended version of <code>Entity</code>.

View File

@ -13,13 +13,13 @@
* limitations under the License. * limitations under the License.
*/ */
package org.acegisecurity; package org.acegisecurity.annotation.test;
/** /**
* DOCUMENT ME! * DOCUMENT ME!
* *
* @author $author$ * @author $author$
* @version $Revision$ * @version $Revision: 1496 $
*/ */
public interface PersonService extends Service<Person> { public interface PersonService extends Service<Person> {
//~ Methods ======================================================================================================== //~ Methods ========================================================================================================

View File

@ -13,13 +13,13 @@
* limitations under the License. * limitations under the License.
*/ */
package org.acegisecurity; package org.acegisecurity.annotation.test;
/** /**
* DOCUMENT ME! * DOCUMENT ME!
* *
* @author $author$ * @author $author$
* @version $Revision$ * @version $Revision: 1496 $
*/ */
public class PersonServiceImpl extends ServiceImpl<Person> implements PersonService { public class PersonServiceImpl extends ServiceImpl<Person> implements PersonService {
//~ Methods ======================================================================================================== //~ Methods ========================================================================================================

View File

@ -13,7 +13,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.acegisecurity; package org.acegisecurity.annotation.test;
import java.util.Collection; import java.util.Collection;

View File

@ -13,7 +13,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.acegisecurity; package org.acegisecurity.annotation.test;
import java.util.Collection; import java.util.Collection;
@ -22,7 +22,7 @@ import java.util.Collection;
* DOCUMENT ME! * DOCUMENT ME!
* *
* @author $author$ * @author $author$
* @version $Revision$ * @version $Revision: 1496 $
* *
* @param <E> DOCUMENT ME! * @param <E> DOCUMENT ME!
*/ */