Hi everyone,
For my current line of work, I need
to authenticate into ActiveBPEL, so the monitoring engine I have
installed into it can read an username and run the monitoring rules
associated to that username/business process pair.
According to what I've seen in the ActiveBPEL source
code, HTTP basic auth should be enough for this, but AFAIK BPELUnit does
not support HTTP authentication on service invocations. I think I've
seen some auth on the ActiveVOSDeployer, but that's a different matter.
I think we'd only need to tweak the code that creates the
HTTPClient a bit so it receives a map from (host, port, realm) triplets
to (username, password) pairs, where the realm could be optional. We
could specify it inside a new element in the <setUp> blocks, such
as:
<setUp>
...
<credentials>
<credential host="..." port="..." [realm="..."] username="..." password="..."/>
</credential>
</setUp>
What do you think?
Best regards,
Antonio