Title: Message
Try the following (In Red)
Thanks
Sudhi
-----Original Message-----
From: Gawde, Kiran
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, June
08, 2004 11:03 AM
To: [EMAIL PROTECTED]
Subject: [castor-user] Help using
location
I am trying to use location as
below:
<class
name="com.xxx.security.saml.AuthzDecisionQuery">
<description>Mapping for class
com.xxx.security.saml.AuthzDecisionQuery</description>
<map-to xml="samlp:AuthzDecisionQuery"/>
<field name="id"
get-method="getId" set-method="setId"
type="java.lang.String">
<bind-xml name="saml:ID"
node="attribute"/>
</field>
<field name="sessionIndex"
get-method="getSessionIndex" set-method="setSessionIndex"
type="java.lang.String">
<bind-xml name="saml:SessionIndex"
node="attribute" location="Subject"/>
</field>
<field
name="subjectNameId" get-method="getSubjectNameId"
set-method="setSubjectNameId" type="java.lang.String">
<bind-xml name="saml:Subject" node="value"
location="Subject"/>
</field>
</class>
And I get following xml output:
<samlp:AuthzDecisionQuery
saml:ID="00001">
<Subject>[EMAIL PROTECTED]</Subject>
<Subject saml:SessionIndex="1234567890"/>
</samlp:AuthzDecisionQuery>
<samlp:AuthzDecisionQuery saml:ID="00001">
<Subject
saml:SessionIndex="1234567890">[EMAIL PROTECTED]</Subject>
</samlp:AuthzDecisionQuery>
How can I do that? Is it a bug?
Thanks,
Kiran
|
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user