All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----app.authkit.test.AuthTest | +----app.authkit.test.TestExternalize
Summary |
public class TestExternalize extends app.authkit.test.AuthTest { // Constructors 1 public TestExternalize(); // Methods 2 public static void main(String[]); public void testAuthOne(Authorization, boolean, String); }
TestExternalize is a test of secret identifiers and multiple calls to release(). Each arg is treated as a Privilege name, its availability is tested with isAvailable(), the session's secret identifier is displayed in hex, then the session is release()'d.
If the Privilege is unavailable or unauthorized, then it will display as such. If the Privilege is shared and available, then it will display as such, and release() won't revoke it. Since a new session is created each time around, due to the release(), a new secret identifier will be displayed each time, and only shared granted Privileges will continue to be available. After the timeout of the shared Privilege expires, it will no longer be available.
The property "authkit.imp" is the fully qualified class name of an Authorization to instantiate and use.
Constructors |
· TestExternalize | Summary | Top |
public TestExternalize()
Default constructor
Methods |
· main | Summary | Top |
public static void main(String[] args)
Static entry point, when used as an application.
· testAuthOne | Summary | Top |
public void testAuthOne(Authorization auth, boolean interact, String arg)
Do the test on one arg. Each arg is a Privilege name.
- Overrides:
- testAuthOne in class AuthTest
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7