*/
package org.wamblee.security.authorization.jpa;
-import static org.wamblee.security.authorization.AuthorizationResult.*;
-
-import javax.persistence.EntityManager;
-
import org.apache.log4j.Logger;
import org.wamblee.security.authentication.jpa.SecurityPersistenceUnit;
-import org.wamblee.security.authorization.AllOperation;
-import org.wamblee.security.authorization.AuthorizationRule;
import org.wamblee.security.authorization.AuthorizationService;
import org.wamblee.security.authorization.AuthorizationServiceTest;
-import org.wamblee.security.authorization.DefaultAuthorizationService;
import org.wamblee.support.persistence.JpaTester;
import org.wamblee.support.persistence.TransactionProxyFactory;
-import org.wamblee.support.persistence.JpaBuilder.JpaUnitOfWork;
/**
* Unit test for the persistent authorization service.
private static final String RULES_TABLE = "SEC_AUTH_RULE";
- private static final String SERVICE_RULES_TABLE = "SEC_AUTH_SVC_SEC_AUTH_RULE";
+ private static final String SERVICE_RULES_TABLE = "SEC_AUTH_SVC_RULE";
private static final String OPERATIONCOND_TABLE = "SEC_OPERATION_CONDITION";
private JpaTester jpaTester;
- private AuthorizationService authorizationService;
-
@Override
protected void setUp() throws Exception {
jpaTester = new JpaTester(new SecurityPersistenceUnit());