public abstract class WebServiceBaseTests extends Object
Modifier and Type | Field and Description |
---|---|
protected static MyWebServiceContext |
adminctx |
static String |
adminusername |
protected static MyWebServiceContext |
agentctx |
static String |
agentusername |
protected static MyWebServiceContext |
auditctx |
static String |
auditusername |
static String |
bobusername |
static DatatypeFactory |
df |
protected static org.postgresql.ds.PGPoolingDataSource |
ds |
protected static String |
INVOCATION_URL |
static String |
maryusername |
protected static String |
url |
protected static MyWebServiceContext |
userbobctx |
protected static MyWebServiceContext |
usermaryctx |
Constructor and Description |
---|
WebServiceBaseTests() |
Modifier and Type | Method and Description |
---|---|
void |
adduser(String bobusername) |
static void |
CreatePolicy(String uri) |
static void |
CreatePolicy(String uri,
FederationPolicyCollection fedpolicies) |
void |
GrantUserAuditAccess(String u,
String url) |
void |
Init() |
String |
Insert_WS_Transaction(String url,
String agent) |
void |
RemoveAuditAccess(String u,
String url) |
static void |
RemoveServicePolicy(String u) |
void |
RemoveTransaction(String id) |
void |
RemoveTransactions(String url)
removes all WS transactions for a specific url
|
void |
resetClassLevel() |
static void |
setUpClass() |
void |
tearDown() |
static void |
tearDownClass() |
void |
VerifyPolicyDeleted(String uri) |
protected static String url
protected static String INVOCATION_URL
protected static MyWebServiceContext adminctx
protected static MyWebServiceContext agentctx
protected static MyWebServiceContext userbobctx
protected static MyWebServiceContext auditctx
protected static MyWebServiceContext usermaryctx
public static String adminusername
public static String auditusername
public static String agentusername
public static String bobusername
public static String maryusername
public static DatatypeFactory df
protected static org.postgresql.ds.PGPoolingDataSource ds
public void tearDown()
public static void RemoveServicePolicy(String u)
public static void CreatePolicy(String uri)
public static void CreatePolicy(String uri, FederationPolicyCollection fedpolicies)
public void VerifyPolicyDeleted(String uri)
public void adduser(String bobusername) throws SQLException
SQLException
public void resetClassLevel() throws SQLException
SQLException
public String Insert_WS_Transaction(String url, String agent) throws Exception
Exception
public void GrantUserAuditAccess(String u, String url) throws Exception
Exception
public void RemoveAuditAccess(String u, String url) throws Exception
Exception
Copyright © 2008–2017 MIL-OSS. All rights reserved.