axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amila Jayasekara <>
Subject Re: Rampart Policy - how to introduce a supporting token
Date Thu, 03 Feb 2011 03:07:08 GMT
On Wed, Feb 2, 2011 at 9:26 PM, Shyameni Wijekoon <> wrote:
> Hi,
> We group of students of University of Moratuwa are working on a project
> to integrate OpenID and WS-Security. We are planing to introduce a new token
> to rampart policy which wraps openid tokens. this new token will be created
> similar to the Username token.
> So far we have added
> a Model and
> a Builder for this token and
> added an entry in file.
> The policy.xml configurations are as follows.
> <sp:SignedSupportingTokens
> xmlns:sp="">
>             <wsp:Policy>
>                 <sp:OpenIDToken
> sp:IncludeToken=""
> />
>           </wsp:Policy>
> </sp:SignedSupportingTokens>
> But the problem is Rampart is not recognizing this new token as a
> SignedSupportingToken.

"But the problem is Rampart is not recognizing this new token as a

Can you explain what exactly you meant by above statement ?
Is it that,
          1. OpenIDToken token is not loaded into the rampart ? OR
          2. In the message generated, the openId token is not signed ?

It seems you have done everything correctly in-order to load
OpenIdToken in Rampart. To confirm this you can debug and have a break
point in org.apache.neethi.AssertionBuilderFactory and check
registeredBuilders map. If openId assertion builder is properly
configured then it should appear in the registeredBuilders map.


> Is there any additional configurations we have to do in order to make
> Rampart to recognize this OpenIDToken as a SignedSupporting Token
> we appreciate any assistance!
> --
> Thanks and Regards,
> Shyameni Wijekoon.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message