apache / apache/directory-scimple
DateTime type in ScimAttribute
- Dominant language
- Java
- Stars
- 103
- Forks
- 47
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 16
Description
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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.