Hi Ayoma, Yes this is reproducible in embedded LDAP too. As I can remember this works fine in JDBC user store. Is there any possibility to report support jira for this issue ?
Thanks, Gayan On Mon, Aug 29, 2016 at 8:14 AM, Ayoma Wijethunga <[email protected]> wrote: > Hi All, > > When user is created with a SCIM extension schema [1], "User Retrievals" > does not include the extended schema attributes. Please advice on how we > can get these values using SCIM API. > > Please find addition query level details below. > > [1] https://docs.wso2.com/display/IS510/Extensible+SCIM+ > User+Schemas+With+WSO2+Identity+Server > > Thank you, > Ayoma. > > > *User Creation * > > Request > > curl -v -k --user admin:admin --data '{"schemas":[],"userName":" > SureshAtt","password":"Wso2@123",*"wso2Extension":{"dob":"12/12/2012"}}'* > --header "Content-Type:application/json" https://localhost:9443/wso2/ > scim/Users > > > Response > > {"id":"cf6db727-fb6c-40d8-9b72-e004f912e686", > *"wso2Extension":{"dob":"12/12/2012"}*,"schemas":["urn:scim: > schemas:core:1.0","urn:scim:schemas:extension:wso2:1.0"]," > userName":"SureshAtt","meta":{"lastModified":"2016-08-28T21: > 32:40","location":"https://localhost:9443/wso2/scim/ > Users/cf6db727-fb6c-40d8-9b72-e004f912e686","created":"2016- > 08-28T21:32:40"}} > > > > *LDIF* > > dn: uid=SureshAtt,ou=Users,dc=WSO2,dc=ORG > objectClass: top > objectClass: identityPerson > objectClass: person > objectClass: organizationalPerson > objectClass: inetOrgPerson > objectClass: wso2Person > objectClass: scimPerson > cn: SureshAtt > sn: SureshAtt > createdDate: 2016-08-28T21:32:40 > *dateOfBirth: 12/12/2012* > lastModifiedDate: 2016-08-28T21:32:40 > location: https://localhost:9443/wso2/scim/Users/cf6db727-fb6c-40d8- > 9b72-e00 > 4f912e686 > scimId: cf6db727-fb6c-40d8-9b72-e004f912e686 > uid: SureshAtt > userPassword:: V3NvMkAxMjM= > > > *User Retrieval* > > Request > > curl -v -k --user admin:admin https://localhost:9443/wso2/ > scim/Users/cf6db727-fb6c-40d8-9b72-e004f912e686 > > > Response > > {"id":"cf6db727-fb6c-40d8-9b72-e004f912e686","schemas":[ > "urn:scim:schemas:core:1.0"],"name":{"familyName":" > SureshAtt"},"userName":"SureshAtt","meta":{"lastModified":"2016-08-28T21: > 32:40","created":"2016-08-28T21:32:40","location":"https > ://localhost:9443/wso2/scim/Users/cf6db727-fb6c-40d8-9b72-e004f912e686"}} > > > -- > Ayoma Wijethunga > Software Engineer > Platform Security Team > WSO2, Inc.; http://wso2.com > lean.enterprise.middleware > > Mobile : +94 (0) 719428123 <+94+(0)+719428123> > Blog : http://www.ayomaonline.com > LinkedIn: https://www.linkedin.com/in/ayoma > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Gayan Gunawardana Software Engineer; WSO2 Inc.; http://wso2.com/ Email: [email protected] Mobile: +94 (71) 8020933
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
