How to add UsernameToken with digest password using UsernameToken Credential Mapping policyset.

How to add UsernameToken with digest password using UsernameToken Credential Mapping policyset.

book

Article ID: KB0085208

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Service Grid -
TIBCO ActiveMatrix BusinessWorks Service Engine -
Not Applicable -

Description

Description:
The default UsernameToken Credential Mapping policyset generates UsernameToken with a plain text password. The UsernameToken with digest password could be generated using the  <wssp:HashPassword/> option.                                          

Issue/Introduction

How to add UsernameToken with digest password using UsernameToken Credential Mapping policyset.

Resolution

To generate a UsernameToken with a digest password, in the policyset, replace: 

<wssp:SupportingTokens>                                          
     <wssp:UsernameToken />
</wssp:SupportingTokens>

with

<wssp:SupportingTokens>
     <wssp:UsernameToken>
          <wssp:HashPassword/>                                          
     </wssp:UsernameToken>
</wssp:SupportingTokens>

A sample policyset is attached. (Filename: NewPolicySetResource.policysets).

Additional Information

Attachment (Filename: NewPolicySetResource.policysets)

For more information about TIBCO ActiveMatrix Policyset, refer to the documentation of the applicable product.

Attachments

How to add UsernameToken with digest password using UsernameToken Credential Mapping policyset. get_app