BlueRui opened a new issue, #490:
URL: https://github.com/apache/directory-scimple/issues/490

   Hi,
   I tried to create an extension with an attribute of DateTime type. The 
example on the readme.md file shows it can be set using "type" in ScimAttribute 
as follows:
   ```java
     @ScimAttribute(
       description="A Boolean value indicating the User's administrative 
status.",
       type=Type.BOOLEAN
       )
   ```
   But ScimAttribute does not seem to support "type". I tried using 
java.util.Date for DateTime without setting the type in ScimAttribute. But in 
response, the DateTime value is displayed as the fastTime value as shown below 
rather than in xsd:dateTime format.
   ```json
       "urn:mem:params:scim:schemas:extension:DateExtension": {
           "dateModified": 1704302059063,
           "dateCreated": 1704302059063
       }
   ```
   What's the right way to add a DateTime attribute? Thanks
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to