Description
The juggler allows it's product to be approved or rejected by using a set of HTTP transactions from a web browser. All "channels" waiting for products to be approved can be accessed via a URL of the form:
http://
pam.host.name
/PAM/Approve.query
Products waiting for approval must be explicitly approved or rejected via the URL. When a product, or set of products is approved the juggler will then forward the approved items to its outputs.
This juggler is schedulable. However, when activated it only gets new inputs. No output actions are taken untill explicitly approved by a user.
Configuration Variables
authUserColonPassword (first available with Build 33)Defaults to "*:*" May be changed to a specific user and password such as "naz:secrets" or a list of users and passwords such as "naz:secrets bob:moresecrets anne:lesssecrets"clearCache
When this parameter is set to true it will clear the cache of unapproved products. The configuration variable will never actually be set to true, but it will signal the cleanup to occur.Product
The juggler's product is a VectorProduct. The first element of this product holds the products, in the form of a VectorProduct, that have been approved by the SrvProductApprove servlet and are being given to the juggler's sinks. All of the other elements in the jugglers product are products waiting to be handled by the servlet.The approved product is removed once the sinks are done. When there are no approved products on the juggler, the first element of the VectorProduct is a product with no content that is used as a placeholder. All of the other elements in the VectorProduct are the products from the jugglers sources that are awaiting approval or rejection.
How it works
The agent works with the SrvProductApprove servlet through a forms enabled web browser. When the juggler is notified that it's sources have new product, it appends the new product to an internal list. The juggler does not directly notify its outputs when it gets new product. This is done by the SrvProductApprove servlet when products have been approved and the juggler's product has been changed.
Revised: 21 February 2000