Class ScimSchema
java.lang.Object
com.revetsec.scim.ScimSchema
Immutable SCIM schema registration. Schema identifiers are bounded absolute URI strings;
they are never fetched. Application schemas cannot override common resource attributes.
- Since:
- 1.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMutable, non-thread-safe schema configuration. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull ScimSchemaReturns the shared standard Enterprise User extension schema, with reviewed RFC corrections.booleanCompares semantic schema registrations, folding the schema identifier.Returns the immutable schema-specific definitions.Returns the optional schema description.getId()Returns the schema URI identifier.getName()Returns the human-readable schema name.static @NonNull ScimSchemaReturns the shared standard Group schema, with reviewed RFC corrections.inthashCode()Returns the semantic registration hash.static @NonNull ScimSchemaReturns the shared standard ResourceType discovery schema, with reviewed RFC corrections.static @NonNull ScimSchemaReturns the shared standard Schema discovery schema, with reviewed RFC corrections.static @NonNull ScimSchemaReturns the shared standard ServiceProviderConfig discovery schema, with reviewed RFC corrections.toString()Returns a fixed redacted description.static @NonNull ScimSchemaReturns the shared standard User schema, with reviewed RFC corrections.static @NonNull ScimSchema.BuilderStarts an application schema with its required absolute URI identifier.
-
Method Details
-
withId
Starts an application schema with its required absolute URI identifier.- Parameters:
id- the required schema identifier- Returns:
- a new builder
- Since:
- 1.0.0
-
getId
-
getName
-
getDescription
Returns the optional schema description.- Returns:
- the optional schema description
- Since:
- 1.0.0
-
getAttributes
Returns the immutable schema-specific definitions. Common resource definitions are inherited.- Returns:
- the immutable schema-specific definitions
- Since:
- 1.0.0
-
userInstance
Returns the shared standard User schema, with reviewed RFC corrections.- Returns:
- the standard schema
- Since:
- 1.0.0
-
groupInstance
Returns the shared standard Group schema, with reviewed RFC corrections.- Returns:
- the standard schema
- Since:
- 1.0.0
-
enterpriseUserInstance
Returns the shared standard Enterprise User extension schema, with reviewed RFC corrections.- Returns:
- the standard schema
- Since:
- 1.0.0
-
serviceProviderConfigInstance
Returns the shared standard ServiceProviderConfig discovery schema, with reviewed RFC corrections.- Returns:
- the standard schema
- Since:
- 1.0.0
-
resourceTypeInstance
Returns the shared standard ResourceType discovery schema, with reviewed RFC corrections.- Returns:
- the standard schema
- Since:
- 1.0.0
-
schemaInstance
Returns the shared standard Schema discovery schema, with reviewed RFC corrections.- Returns:
- the standard schema
- Since:
- 1.0.0
-
equals
-
hashCode
-
toString
-