synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Fremantle" <>
Subject Re: EMail mediator configuration
Date Tue, 18 Dec 2007 13:27:04 GMT
As for improving the password safety here are two points:

1) unless the system has a secure registry or hardware store for passwords,
it is very hard to make them secure. So sometimes its better to have it
inline in the config - it reminds the sysadmin he has to keep the config
safe! I've seen arrangements where the system uses a way of masking
passwords, with the result that someone publishes an exploit on how to
unmask them. The exploit is really based on the fact that people assume the
masked password is safe when it isn't.

2) if we are going to do something in addition, then the right thing to do
is use the same PWCallbackHandler interface that Rampart uses. This is a
standard Java interface and if we use the same interface then we can re-use
PW handlers from Rampart.


On Dec 18, 2007 11:10 AM, Asankha C. Perera <> wrote:

> Ruwan
> > <sendMail>
> >  <protocol host="string" port="int"/>
> >  <authentication user="string" password="string"/>
> >  <recipient type=("to"|"cc"|"bcc") address="string"
> > personalName="String"/>
> >  <from address="string" personalName="string"/>
> >  <replyTo address="string" personalName="string"/>
> >  <header name="string" value="string" expression="xpath"/>
> >  <subject text="string" expression="xpath"/>
> >  <body text="string" expression="xpath"/>
> >  <attachment src="uri" expression="xpath"/>
> > </sendMail>
> Sounds cool.. some suggestions/observations..
> 1. I assume one can specify multiple <recipient ..>* elements to specify
> to, cc, bcc etc.
> 2. Would be cool to someday allow one to pick the body or attachment
> from the registry
> 3. Would be even better to let one substitute body variables.. e.g. body
> is picked up from the registry and contains ${param1} etc within the
> text, and the engine will replace these with an XPath expression or
> value etc to compose the actual body..
> asankha
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2


"Oxygenating the Web Service Platform",

View raw message