Uses of Class
de.captaingoldfish.scim.sdk.server.schemas.ResourceType
-
-
Uses of ResourceType in de.captaingoldfish.scim.sdk.server.endpoints
Method parameters in de.captaingoldfish.scim.sdk.server.endpoints with type arguments of type ResourceType Modifier and Type Method Description ScimResponseResourceEndpoint. handleRequest(String requestUrl, HttpMethod httpMethod, String requestBody, Map<String,String> httpHeaders, Authorization authorization, Consumer<ResourceType> doBeforeExecution)this method will resolve the SCIM request based on the given informationScimResponseResourceEndpoint. handleRequest(String requestUrl, HttpMethod httpMethod, String requestBody, Map<String,String> httpHeaders, Authorization authorization, Consumer<ResourceType> doBeforeExecution, BiConsumer<ScimResponse,Boolean> doAfterExecution)this method will resolve the SCIM request based on the given informationScimResponseResourceEndpoint. handleRequest(String requestUrl, HttpMethod httpMethod, String requestBody, Map<String,String> httpHeaders, Consumer<ResourceType> doBeforeExecution)this method will resolve the SCIM request based on the given informationScimResponseResourceEndpoint. handleRequest(String requestUrl, HttpMethod httpMethod, String requestBody, Map<String,String> httpHeaders, Consumer<ResourceType> doBeforeExecution, BiConsumer<ScimResponse,Boolean> doAfterExecution)this method will resolve the SCIM request based on the given informationprotected ScimResponseResourceEndpoint. resolveRequest(HttpMethod httpMethod, String requestBody, UriInfos uriInfos, Authorization authorization, Consumer<ResourceType> doBeforeExecution)this method will handle the request send by the user by delegating to the corresponding methods -
Uses of ResourceType in de.captaingoldfish.scim.sdk.server.endpoints.authorize
Methods in de.captaingoldfish.scim.sdk.server.endpoints.authorize with parameters of type ResourceType Modifier and Type Method Description default voidAuthorization. isAuthorized(ResourceType resourceType, EndpointType endpointType, Set<String> roles, Set<String> defaultRoles)checks if the current client is authorized to access the given endpointdefault voidAuthorization. isClientAuthorized(ResourceType resourceType, EndpointType endpointType)verifies if the client is authorized to access the given endpoint and will throw a forbidden except -
Uses of ResourceType in de.captaingoldfish.scim.sdk.server.endpoints.features
Methods in de.captaingoldfish.scim.sdk.server.endpoints.features with parameters of type ResourceType Modifier and Type Method Description static voidEndpointFeatureHandler. handleEndpointFeatures(ResourceType resourceType, EndpointType endpointType, Authorization authorization)handles several checks for the currently accessed endpoint on the given resource type -
Uses of ResourceType in de.captaingoldfish.scim.sdk.server.endpoints.handler
Methods in de.captaingoldfish.scim.sdk.server.endpoints.handler that return ResourceType Modifier and Type Method Description ResourceTypeResourceTypeHandler. createResource(ResourceType resource, Authorization authorization)creating of resource types not supportedResourceTypeResourceTypeHandler. getResource(String id, Authorization authorization)extract a resource by its idResourceTypeResourceTypeHandler. updateResource(ResourceType resourceToUpdate, Authorization authorization)updating of resource types not supportedMethods in de.captaingoldfish.scim.sdk.server.endpoints.handler with parameters of type ResourceType Modifier and Type Method Description ResourceTypeResourceTypeHandler. createResource(ResourceType resource, Authorization authorization)creating of resource types not supportedResourceTypeResourceTypeHandler. updateResource(ResourceType resourceToUpdate, Authorization authorization)updating of resource types not supported -
Uses of ResourceType in de.captaingoldfish.scim.sdk.server.etag
Methods in de.captaingoldfish.scim.sdk.server.etag with parameters of type ResourceType Modifier and Type Method Description static Optional<ETag>ETagHandler. getResourceVersion(ServiceProvider serviceProvider, ResourceType resourceType, ResourceNode resourceNode)if the service provider has its support vor eTag set to true this method will return either the already set version from the meta-attribute of the resource node or will generate a version value by generating a base64 encoded SHA-1 hash of the resourcestatic voidETagHandler. validateVersion(ServiceProvider serviceProvider, ResourceType resourceType, Supplier<ResourceNode> currentState, Map<String,String> httpHeaders)will validate if the given httpHeaders do contain an entity tag within the request and if this entity tag matches the state of the current resource -
Uses of ResourceType in de.captaingoldfish.scim.sdk.server.filter
Constructors in de.captaingoldfish.scim.sdk.server.filter with parameters of type ResourceType Constructor Description AttributeExpressionLeaf(ScimFilterParser.AttributeExpressionContext context, ResourceType resourceType)AttributePathRoot(FilterNode child, ResourceType resourceType, ScimFilterParser.ValuePathContext ctx) -
Uses of ResourceType in de.captaingoldfish.scim.sdk.server.filter.antlr
Constructors in de.captaingoldfish.scim.sdk.server.filter.antlr with parameters of type ResourceType Constructor Description FilterVisitor(ResourceType resourceType) -
Uses of ResourceType in de.captaingoldfish.scim.sdk.server.patch
Fields in de.captaingoldfish.scim.sdk.server.patch declared as ResourceType Modifier and Type Field Description protected ResourceTypeAbstractPatch. resourceTypethis resource type is used to get the attribute definitions of the values from the patch operationsConstructors in de.captaingoldfish.scim.sdk.server.patch with parameters of type ResourceType Constructor Description AbstractPatch(ResourceType resourceType)PatchHandler(ResourceType resourceType)PatchResourceHandler(ResourceType resourceType, PatchOp op)PatchTargetHandler(ResourceType resourceType, PatchOp patchOp, String path) -
Uses of ResourceType in de.captaingoldfish.scim.sdk.server.schemas
Methods in de.captaingoldfish.scim.sdk.server.schemas that return ResourceType Modifier and Type Method Description ResourceTypeResourceTypeFactory. getResourceType(String endpoint)tries to get a resource type by the endpoint path under which it is accessibleResourceTypeResourceTypeFactory. registerResourceType(ResourceHandler resourceHandler, com.fasterxml.jackson.databind.JsonNode resourceType, com.fasterxml.jackson.databind.JsonNode resourceSchema, com.fasterxml.jackson.databind.JsonNode... resourceSchemaExtensions)this method will register a new resource typeMethods in de.captaingoldfish.scim.sdk.server.schemas that return types with arguments of type ResourceType Modifier and Type Method Description Collection<ResourceType>ResourceTypeFactory. getAllResourceTypes()Optional<ResourceType>ResourceTypeFactory. getResourceTypeByName(String name)gets a resource type by its name valueMethods in de.captaingoldfish.scim.sdk.server.schemas with parameters of type ResourceType Modifier and Type Method Description static com.fasterxml.jackson.databind.JsonNodeSchemaValidator. validateDocumentForRequest(ResourceType resourceType, com.fasterxml.jackson.databind.JsonNode document, HttpMethod httpMethod)will validate an incoming document against its main schema and all its extensions.static com.fasterxml.jackson.databind.JsonNodeSchemaValidator. validateDocumentForResponse(ResourceTypeFactory resourceTypeFactory, ResourceType resourceType, com.fasterxml.jackson.databind.JsonNode document, com.fasterxml.jackson.databind.JsonNode validatedRequest, String attributes, String excludedAttributes, Supplier<String> baseUrlSupplier)will validate an outgoing document against its main schema and all its extensions. -
Uses of ResourceType in de.captaingoldfish.scim.sdk.server.utils
Methods in de.captaingoldfish.scim.sdk.server.utils with parameters of type ResourceType Modifier and Type Method Description static List<SchemaAttribute>RequestUtils. getAttributes(ResourceType resourceType, String attributes)this method will parse either the attributes parameter or the excludedAttributes parameter into a list ofSchemaAttributes.static SchemaAttributeRequestUtils. getSchemaAttributeByAttributeName(ResourceType resourceType, String attributeName)gets theSchemaAttributefrom the givenResourceTypestatic SchemaAttributeRequestUtils. getSchemaAttributeForFilter(ResourceType resourceType, FilterAttributeName attributeName)gets theSchemaAttributefrom the givenResourceTypestatic FilterNodeRequestUtils. parseFilter(ResourceType resourceType, String filter)parsed the filter of a list requeststatic AttributePathRootRequestUtils. parsePatchPath(ResourceType resourceType, String path)parses a value path context for patch path expressions
-