|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.pd.jazn.LRAdemo.LRTestDemo
This class is the engine of the LRADemo program. It executes the following tasks:
For this Demo it is assumed that the user has a Distinguishing name as follows: dn=user_LRADemo,ou=austin,o=ibm,c=us Note that a suffix of c=us is configured on the ldap server then a country object was defined (c=us), an organizational object (o=ibm), and then an organizational unit object(ou=austin). This default suffix can be changed by using the configuration panel's Default Suffix entry to fit whatever suffix the user has set up for his PDUsers or the ldap server can be configured as described to use the default.
Constructor Summary | |
---|---|
LRTestDemo(LRAuthzDemo2 LRADemo)
Configures a local and remote server..this results in properties files for each server. |
Method Summary | |
---|---|
void |
runDemo(int reps,
boolean disableCache,
boolean meas_avg_time,
boolean newPDPrincipal,
boolean newPDAuthContext,
java.lang.String localAppProp,
java.lang.String remoteAppProp)
This method runs the LRADemo |
void |
tearDown(LRAuthzDemo2 LRADemo)
This method deletes all the objects, users, ACLs, POPs, and user created by the constructor. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LRTestDemo(LRAuthzDemo2 LRADemo) throws tamdemoException
LRADemo
- Class that defines various public methods for fetching
the configuration parameters entered on the LRAuthzDemo2 Frame. See doc
on LRAuthzDemo2 for the public methods and what they provide.Method Detail |
public void tearDown(LRAuthzDemo2 LRADemo)
LRADemo
- instance of LRAuthzDemo2. Parameters entered in the initial
configuration dialog are access through this class's methods.public void runDemo(int reps, boolean disableCache, boolean meas_avg_time, boolean newPDPrincipal, boolean newPDAuthContext, java.lang.String localAppProp, java.lang.String remoteAppProp)
The main activities that take place are:
reps
- Number of times to execute access decisionsdisableCache
- Disable the credential cachemeas_avg_time
- measure times for access decisions and PDPrincipal creation.newPDPrincipal
- create new PDPrincipals each time through the loopnewPDAuthContext
- create new PDAuthorizationContexts for each iteration.localAppProp
- local apps properties file spec minus the "file:" prefixremoteAppProp
- remote apps properties file spec minus the "file:" prefix
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |