Class ScimServiceProviderConfig.Builder
java.lang.Object
com.revetsec.scim.ScimServiceProviderConfig.Builder
- Enclosing class:
ScimServiceProviderConfig
@NotThreadSafe
@CheckReturnValue
public static final class ScimServiceProviderConfig.Builder
extends Object
Mutable, non-thread-safe capability configuration; null restores the stated default.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionSets authenticationSchemes; null restores empty.build()Checks bounded advertisement characteristics and creates an immutable snapshot.Sets the password-change capability advertisement; null restores false.documentationUri(@Nullable URI value) Sets documentationUri; null restores absent.etagSupported(@Nullable Boolean value) Sets etagSupported; null restores true.filterMaximumResults(@Nullable Integer value) Sets filterMaximumResults; null restores 1000.filterSupported(@Nullable Boolean value) Sets filterSupported; null restores false.Sets pagination; null restores fresh defaults.patchSupported(@Nullable Boolean value) Sets patchSupported; null restores false.sortSupported(@Nullable Boolean value) Sets sortSupported; null restores false.
-
Method Details
-
patchSupported
Sets patchSupported; null restores false.- Parameters:
value- the replacement, or null to restore its default- Returns:
- this builder
- Since:
- 1.0.0
-
filterSupported
Sets filterSupported; null restores false.- Parameters:
value- the replacement, or null to restore its default- Returns:
- this builder
- Since:
- 1.0.0
-
sortSupported
Sets sortSupported; null restores false.- Parameters:
value- the replacement, or null to restore its default- Returns:
- this builder
- Since:
- 1.0.0
-
changePasswordSupported
Sets the password-change capability advertisement; null restores false. This setting neither authorizes nor handles credential changes. It does not gate schema-bound password input, enable PATCH, or make passwords returnable in responses.- Parameters:
value- the replacement, or null to restore its default- Returns:
- this builder
- Since:
- 1.0.0
-
etagSupported
Sets etagSupported; null restores true.- Parameters:
value- the replacement, or null to restore its default- Returns:
- this builder
- Since:
- 1.0.0
-
filterMaximumResults
Sets filterMaximumResults; null restores 1000.- Parameters:
value- the replacement, or null to restore its default- Returns:
- this builder
- Since:
- 1.0.0
-
pagination
Sets pagination; null restores fresh defaults.- Parameters:
value- the replacement, or null to restore its default- Returns:
- this builder
- Since:
- 1.0.0
-
authenticationSchemes
public @NonNull ScimServiceProviderConfig.Builder authenticationSchemes(@Nullable List<@NonNull ScimAuthenticationScheme> value) Sets authenticationSchemes; null restores empty.- Parameters:
value- the replacement, or null to restore its default- Returns:
- this builder
- Since:
- 1.0.0
-
documentationUri
Sets documentationUri; null restores absent.- Parameters:
value- the replacement, or null to restore its default- Returns:
- this builder
- Since:
- 1.0.0
-
build
Checks bounded advertisement characteristics and creates an immutable snapshot.- Returns:
- the capability advertisement
- Since:
- 1.0.0
-