The Liberty Personal Profile Service allows you to specify extension attributes that are not defined in the Liberty Alliance Project specifications. The values of this attribute specify a list of extension container attributes. All extensions should be defined as:
/PP/Extension/PPISExtension [@name=’extensionattribute’]
The following sample illustrates an extension query expression for creditcard, an extension attribute.
/pp:PP/pp:Extension/ispp:PPISExtension[@name=’creditcard’] Note: The prefix for the PPISExtension is different, and the schema for the PP extension is as follows: <?xml version="1.0" encoding="UTF-8" ?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.sun.com/identity/liberty/pp" targetNamespace="http://www.sun.com/identity/liberty/pp"> <xs:annotation> <xs:documentation> </xs:documentation> </xs:annotation> <xs:element name="PPISExtension"> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute name="name" type="xs:string" use="required"/> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> </xs:schema> |