@NotExtensible @ThreadSafety(level=INTERFACE_THREADSAFE) public interface SCIMServerContext extends HTTPServerContext
Modifier and Type | Method and Description |
---|---|
void |
deregisterSCIMSchema(com.unboundid.scim2.common.types.SchemaResource schema)
Deregisters a SCIM schema with the server.
|
java.lang.String |
getIDAttribute(java.lang.String scimResourceType)
Gets the SCIM ID attribute value for a SCIM Resource Type.
|
SCIMLDAPAttributeMapper |
getLDAPAttributeMapper(Schema ldapSchema,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Creates a
SCIMLDAPAttributeMapper instance, which provides a set
of methods for converting to and from SCIM and LDAP attribute values. |
SCIMLDAPInterface |
getSCIMLDAPInterface(java.lang.String scimResourceType)
Creates a
SCIMLDAPInterface instance, which provides a set of
helper methods for SCIM 2 extensions to interact with a Ping LDAP server,
using the same privileges as the server itself. |
java.util.Collection<com.unboundid.scim2.common.types.SchemaResource> |
getSCIMSchemas()
Retrieves all SCIM 2 schemas.
|
void |
registerSCIMSchema(com.unboundid.scim2.common.types.SchemaResource schema)
Registers a SCIM schema with the server, making it available via the
SCIM 2 schemas endpoint.
|
createEMailAttachment, createEMailMessage, createThread, createValueConstructor, debugCaught, debugEnabled, debugError, debugInfo, debugThrown, debugVerbose, debugWarning, deregisterAllMonitorProviders, deregisterChangeListener, deregisterDiskSpaceConsumer, deregisterMonitorProvider, deregisterShutdownListener, deregisterSupportedControlOID, getBasicProductName, getClientConnection, getClientRootConnection, getCompactProductName, getEncryptedOutputStream, getEncryptedOutputStream, getEncryptionSettingsDefinition, getEncryptionSettingsDefinitions, getFullProductName, getFullVendorName, getFullVersion, getGroup, getGroupsForUser, getInstanceName, getInternalConnection, getInternalRootConnection, getLDAPExternalServerConnection, getLDAPExternalServerConnectionPool, getLocation, getMajorVersionNumber, getMinorVersionNumber, getObscuredValue, getPackageName, getPassphraseFromPassphraseProvider, getPatchVersionNumber, getPointVersionNumber, getPossiblyCompressedAndEncryptedInputStream, getPossiblyCompressedAndEncryptedInputStream, getPreferredEncryptionSettingsDefinition, getPrivilegeNames, getSchema, getServerRoot, getShortVendorName, getSourceRevision, getStartTime, getStartupID, getStartupUUID, getToolExecutor, getVersionNumber, getVersionQualifier, hasPrivilege, isDirectoryFunctionalityAvailable, isDirectoryProxyFunctionalityAvailable, isRunning, isShuttingDown, isStarting, isSyncFunctionalityAvailable, isTraceMessageLoggable, logMessage, logTraceMessage, logTraceMessage, registerChangeListener, registerDiskSpaceConsumer, registerMonitorProvider, registerShutdownListener, registerSupportedControlOID, reloadHTTPConnectionHandlerCertificates, sendAlert, sendAlert, sendDegradedAlertNotification, sendUnavailableAlertNotification
java.util.Collection<com.unboundid.scim2.common.types.SchemaResource> getSCIMSchemas()
void registerSCIMSchema(com.unboundid.scim2.common.types.SchemaResource schema)
Note that this method need only be called by an extension that builds its schema programmatically; any SCIM schema that was declared in the server configuration will already be available via the SCIM 2 schemas endpoint.
schema
- The schema to register.void deregisterSCIMSchema(com.unboundid.scim2.common.types.SchemaResource schema)
schema
- The SCIM schema to deregister.java.lang.String getIDAttribute(java.lang.String scimResourceType) throws com.unboundid.scim2.common.exceptions.ScimException
A SCIM ID acts as the unique identifier for a SCIM resource, and is used for retrieve, update, and delete operations for that resource. The SCIM ID attribute is the native data store attribute that stores a SCIM resource's ID. For Ping Identity Directory Server and Directory Proxy Server, this attribute is always "entryUUID". For PingAuthorize Server, this attribute is defined in the SCIM Resource Type configuration and may vary by deployment.
scimResourceType
- The name of a SCIM Resource Type.com.unboundid.scim2.common.exceptions.ScimException
- If the specified SCIM Resource Type does not
exist.SCIMLDAPInterface getSCIMLDAPInterface(java.lang.String scimResourceType) throws com.unboundid.scim2.common.exceptions.ScimException
SCIMLDAPInterface
instance, which provides a set of
helper methods for SCIM 2 extensions to interact with a Ping LDAP server,
using the same privileges as the server itself.scimResourceType
- The name of a SCIM Resource Type, such as
"Users". If the server is PingAuthorize Server,
then this SCIM Resource Type's primary store
adapter must be an LDAP store adapter, and the
backing LDAP servers must be Ping LDAP servers.com.unboundid.scim2.common.exceptions.ScimException
- If the SCIMLDAPRequestHelper cannot be created.SCIMLDAPAttributeMapper getLDAPAttributeMapper(Schema ldapSchema, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
SCIMLDAPAttributeMapper
instance, which provides a set
of methods for converting to and from SCIM and LDAP attribute values.ldapSchema
- The LDAP server's schema. This may be obtained by
calling SCIMLDAPInterface.getSchema()
.objectMapper
- A Jackson ObjectMapper
instance. Extensions
can create a new instance by calling the SCIM 2 SDK
method JsonUtils#createObjectMapper().