ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Assaf Arkin" <ar...@intalio.com>
Subject Re: Passing in Login and Password
Date Mon, 10 Sep 2007 19:34:12 GMT
In a scope you can define a principal:

<principal name=NCName>

The scope semantics are similar to variables, partner links and

To invoke/receive activity we add a principal attribute that can reference a
principal.  On recieve, assigning from inbound message to the principal, and
on invoke assigning from principal to outbound message.

Given a principal, you can also access its name and determine if it belongs
to a certain role using the XPath functions:


And, of course, it should always be possible to instantiate a principal:

  <principal name=NCName value=string>

  <principal name=NCName>

In assignment:
  <to principal=NCName>

On the endpoint reference at deployment (and don't use principal attribute
on invoke).

Ideally, using a principal in invoke is sufficient for the process engine to
figure out the credentials to use for authentication.  Practically, we'll
get there at some point, but meanwhile need a solution to pass credentials
ad-hoc basis:

getPrincipalCredentials(ncname, realm, protocol)

The realm can be use to get credentials for a particular security realm, and
the protocol to easily wrap them up into a set of notes useful for a
particular protocol (e.g. a WSSE passwordToken).  Without protocol, we get
back the elements username/password.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message