Class EndpointDefinition
java.lang.Object
de.captaingoldfish.scim.sdk.server.endpoints.EndpointDefinition
- Direct Known Subclasses:
GroupEndpointDefinition,MeEndpointDefinition,ResourceTypeEndpointDefinition,SchemaEndpointDefinition,ServiceProviderEndpointDefinition,UserEndpointDefinition
author Pascal Knueppel
created at: 04.10.2019 - 00:44
the endpoint definition is used to register new endpoints into the application context
created at: 04.10.2019 - 00:44
the endpoint definition is used to register new endpoints into the application context
-
Constructor Summary
ConstructorsConstructorDescriptionEndpointDefinition(com.fasterxml.jackson.databind.JsonNode resourceType, com.fasterxml.jackson.databind.JsonNode resourceSchema, List<com.fasterxml.jackson.databind.JsonNode> resourceSchemaExtensions, ResourceHandler resourceHandler) -
Method Summary
Modifier and TypeMethodDescriptionthe implementation that handles the resourcescom.fasterxml.jackson.databind.JsonNodethe main resource schema that represents the endpoint e.g. the User schemaList<com.fasterxml.jackson.databind.JsonNode>the extensions that must or might be added to the resource that represents the endpointcom.fasterxml.jackson.databind.JsonNodethe resource type definition that defines the SCIM endpointvoidsetResourceHandler(ResourceHandler resourceHandler) the implementation that handles the resourcesvoidsetResourceSchema(com.fasterxml.jackson.databind.JsonNode resourceSchema) the main resource schema that represents the endpoint e.g. the User schemavoidsetResourceSchemaExtensions(List<com.fasterxml.jackson.databind.JsonNode> resourceSchemaExtensions) the extensions that must or might be added to the resource that represents the endpointvoidsetResourceType(com.fasterxml.jackson.databind.JsonNode resourceType) the resource type definition that defines the SCIM endpoint
-
Constructor Details
-
EndpointDefinition
public EndpointDefinition(com.fasterxml.jackson.databind.JsonNode resourceType, com.fasterxml.jackson.databind.JsonNode resourceSchema, List<com.fasterxml.jackson.databind.JsonNode> resourceSchemaExtensions, ResourceHandler resourceHandler)
-
-
Method Details
-
getResourceType
public com.fasterxml.jackson.databind.JsonNode getResourceType()the resource type definition that defines the SCIM endpoint -
getResourceSchema
public com.fasterxml.jackson.databind.JsonNode getResourceSchema()the main resource schema that represents the endpoint e.g. the User schema -
getResourceSchemaExtensions
the extensions that must or might be added to the resource that represents the endpoint -
getResourceHandler
the implementation that handles the resources -
setResourceType
public void setResourceType(com.fasterxml.jackson.databind.JsonNode resourceType) the resource type definition that defines the SCIM endpoint -
setResourceSchema
public void setResourceSchema(com.fasterxml.jackson.databind.JsonNode resourceSchema) the main resource schema that represents the endpoint e.g. the User schema -
setResourceSchemaExtensions
public void setResourceSchemaExtensions(List<com.fasterxml.jackson.databind.JsonNode> resourceSchemaExtensions) the extensions that must or might be added to the resource that represents the endpoint -
setResourceHandler
the implementation that handles the resources
-