OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | federid-dev List | June 2008 Index

<--  Date Index  --> <--  Thread Index  -->

[[federid-dev]] Providing Personal Profile PostalCode attribute (through Discovery Service)


Hello,
I am testing Interldap LAAP and I want to make it provide an extra attribute through the Discovery Service.

First, let me check with you one thing. Looking at the Dozer mappings in the code (file src/main/resources/dozerBeanMapping.xml), I assume that currently, the only attributes that LAAP can provide through the DS are (I am using XPATH expressions here for accuracy), and therefore can be shared with Service Providers:
* /pp:PP/pp:InformalName (name)
* /pp:PP/pp:MsgContact (email)
* /pp:PP/pp:Demographics/pp:Language (language)
* /pp:PP/pp:Facade/pp:Website (website).
Correct me if I am wrong.

Now, I want LAAP to provide an extra ID-SIS PP attribute: the postalcode/zipcode. Xpath:
/pp:PP/pp:AddressCard/pp:Address/pp:PostalCode
See 5.7.2.1 in Liberty ID-SIS PP Service Spec 1.1.
For info, I don't care about the whole address. I just want to use the postalCode attribute in my LDAP directory (e.g. for every 'inetorgperson' entry ), map it to the postalcode attribute of the ID-SIS PP, and make it available for the SPs through the DS. (The SP will not care about/look at the whole address but the postal code.)

What do I have to change to the code of Interldap laap to get this working?
I identified 2 files:
* src/main/java/org/interldap/laap/ws/mapping/ExtendedUser.java
* src/main/resources/dozerBeanMapping.xml
... but I need more precision to be sure I am not missing anything.

Thanks.

Regards,

--
Cyril Dangerville



<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.