001/* 002 * Copyright 2026 Revetware LLC. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 017package com.revetsec.scim; 018 019import javax.annotation.concurrent.Immutable; 020 021/** 022 * Explicit SCIM compatibility relaxations; no feature is selected from request content. 023 * 024 * @since 1.0.0 025 */ 026@Immutable 027public enum ScimCompatibilityFeature { 028 /** Accept ASCII case variants of PATCH operation names. */ 029 PATCH_OPERATION_NAME_CASE_INSENSITIVE, 030 /** Accept true/false strings only in Boolean-bound positions. */ 031 BOOLEAN_STRINGS, 032 /** Accept reviewed member-removal value shapes. */ 033 PATCH_REMOVE_WITH_VALUE, 034 /** Accept reviewed email type-selector upsert shapes. */ 035 PATCH_VALUE_PATH_UPSERT, 036 /** Accept dotted or qualified keys in reviewed PATCH objects. */ 037 PATCH_VALUE_OBJECT_ATTRIBUTE_PATHS, 038 /** Rewrite a filtered suffix to a same-element predicate. */ 039 FILTER_VALUE_PATH_SUB_ATTRIBUTE_COMPARISON, 040 /** Infer registered extension declarations from present values. */ 041 INFER_MISSING_EXTENSION_SCHEMAS, 042 /** Ignore unknown schema declarations without admitting unknown attributes. */ 043 IGNORE_UNDECLARED_SCHEMA_URIS, 044 /** Accept an Enterprise manager string as its value object. */ 045 COMPLEX_VALUE_AS_SCALAR, 046 /** Drop unknown attributes while preserving known-attribute rules. */ 047 IGNORE_UNKNOWN_ATTRIBUTES, 048 /** Ignore an identical current id in reviewed no-path PATCH objects. */ 049 PATCH_READ_ONLY_ID_ECHO, 050 /** Accept an exact registered extension schema URI as a whole-extension PATCH object target. 051 * This profile is opt-in and is absent from the strict, Microsoft Entra ID and Okta presets. */ 052 PATCH_EXTENSION_SCHEMA_ROOT, 053 /** Ignore only supplied display in standard Group member object merges; preserve server metadata. 054 * Direct read-only writes and other protected fields remain refused. Included in the Okta preset. */ 055 PATCH_GROUP_MEMBER_DISPLAY_IGNORED 056}