@NotExtensible public interface SCIMLDAPInterface
SCIMServerContext
, and are always associated with a particular
SCIM resource type.
For PingAuthorize Server, the associated SCIM resource type must use an LDAP store adapter as its primary store adapter, and the LDAP store adapter must be backed by a Ping Identity Directory Server or Directory Proxy Server.
Modifier and Type | Method and Description |
---|---|
LDAPResult |
add(javax.servlet.http.HttpServletRequest httpServletRequest,
AddRequest addRequest)
Processes the provided LDAP add request.
|
CompareResult |
compare(javax.servlet.http.HttpServletRequest httpServletRequest,
CompareRequest compareRequest)
Processes the provided LDAP compare request.
|
LDAPResult |
delete(javax.servlet.http.HttpServletRequest httpServletRequest,
DeleteRequest deleteRequest)
Processes the provided LDAP delete request.
|
java.lang.String |
getBaseDN()
Gets the LDAP base DN associated with the SCIM service.
|
RootDSE |
getRootDSE(javax.servlet.http.HttpServletRequest httpServletRequest)
Retrieves the LDAP server's root DSE.
|
Schema |
getSchema()
Gets the LDAP server's schema.
|
java.util.Set<java.lang.String> |
getSupportedControls()
Gets the controls supported by the LDAP server.
|
LDAPResult |
modify(javax.servlet.http.HttpServletRequest httpServletRequest,
ModifyRequest modifyRequest)
Processes the provided LDAP modify request.
|
LDAPResult |
modifyDN(javax.servlet.http.HttpServletRequest httpServletRequest,
ModifyDNRequest modifyDNRequest)
Processes the provided LDAP modify DN request.
|
ExtendedResult |
processExtendedRequest(javax.servlet.http.HttpServletRequest httpServletRequest,
ExtendedRequest extendedRequest)
Processes the provided extended request.
|
SearchResult |
search(javax.servlet.http.HttpServletRequest httpServletRequest,
SearchRequest searchRequest)
Processes the provided LDAP search request.
|
SearchResultEntry |
searchForEntry(javax.servlet.http.HttpServletRequest httpServletRequest,
SearchRequest searchRequest)
Processes the provided LDAP search request.
|
java.lang.String getBaseDN()
@Nullable Schema getSchema() throws com.unboundid.scim2.common.exceptions.ScimException
com.unboundid.scim2.common.exceptions.ScimException
- If the schema cannot be obtained.java.util.Set<java.lang.String> getSupportedControls() throws com.unboundid.scim2.common.exceptions.ScimException
com.unboundid.scim2.common.exceptions.ScimException
- If the supported LDAP controls cannot be obtained.@Nullable RootDSE getRootDSE(@NotNull javax.servlet.http.HttpServletRequest httpServletRequest) throws com.unboundid.scim2.common.exceptions.ScimException
httpServletRequest
- The HTTP servlet request associated with the
current operation.null
if it is not
available.com.unboundid.scim2.common.exceptions.ScimException
- If a problem occurs while attempting to retrieve
the server root DSE.@NotNull LDAPResult add(@NotNull javax.servlet.http.HttpServletRequest httpServletRequest, @NotNull AddRequest addRequest) throws com.unboundid.scim2.common.exceptions.ScimException
httpServletRequest
- The HTTP servlet request associated with the
current operation.addRequest
- The add request to be processed. It must not be
null
.com.unboundid.scim2.common.exceptions.ScimException
- If a connection cannot be obtained, if the server
rejects the add request, or if a problem is
encountered while sending the request or reading
the response.@NotNull CompareResult compare(@NotNull javax.servlet.http.HttpServletRequest httpServletRequest, @NotNull CompareRequest compareRequest) throws com.unboundid.scim2.common.exceptions.ScimException
httpServletRequest
- The HTTP servlet request associated with the
current operation.compareRequest
- The compare request to be processed. It must
not be null
.com.unboundid.scim2.common.exceptions.ScimException
- If a connection cannot be obtained, if the server
rejects the compare request, or if a problem is
encountered while sending the request or reading
the response.@NotNull LDAPResult delete(@NotNull javax.servlet.http.HttpServletRequest httpServletRequest, @NotNull DeleteRequest deleteRequest) throws com.unboundid.scim2.common.exceptions.ScimException
httpServletRequest
- The HTTP servlet request associated with the
current operation.deleteRequest
- The delete request to be processed. It must not
be null
.com.unboundid.scim2.common.exceptions.ScimException
- If a connection cannot be obtained, if the server
rejects the delete request, or if a problem is
encountered while sending the request or reading
the response.@NotNull LDAPResult modify(@NotNull javax.servlet.http.HttpServletRequest httpServletRequest, @NotNull ModifyRequest modifyRequest) throws com.unboundid.scim2.common.exceptions.ScimException
httpServletRequest
- The HTTP servlet request associated with the
current operation.modifyRequest
- The modify request to be processed. It must not
be null
.com.unboundid.scim2.common.exceptions.ScimException
- If a connection cannot be obtained, if the server
rejects the modify request, or if a problem is
encountered while sending the request or reading
the response.@NotNull LDAPResult modifyDN(@NotNull javax.servlet.http.HttpServletRequest httpServletRequest, @NotNull ModifyDNRequest modifyDNRequest) throws com.unboundid.scim2.common.exceptions.ScimException
httpServletRequest
- The HTTP servlet request associated with the
current operation.modifyDNRequest
- The modify DN request to be processed. It must
not be null
.com.unboundid.scim2.common.exceptions.ScimException
- If a connection cannot be obtained, if the server
rejects the modify DN request, or if a problem is
encountered while sending the request or reading
the response.@NotNull SearchResult search(@NotNull javax.servlet.http.HttpServletRequest httpServletRequest, @NotNull SearchRequest searchRequest) throws com.unboundid.scim2.common.exceptions.ScimException
Note that if the search does not complete successfully, an
LDAPSearchException
wrapped by a ScimException
will be
thrown. In some cases, one or more search result entries or references may
have been returned before the failure response is received. In this case,
the LDAPSearchException
methods like getEntryCount
,
getSearchEntries
, getReferenceCount
, and
getSearchReferences
may be used to obtain information about those
entries and references (although if a search result listener was provided,
then it will have been used to make any entries and references available,
and they will not be available through the getSearchEntries
and
getSearchReferences
methods).
httpServletRequest
- The HTTP servlet request associated with the
current operation.searchRequest
- The search request to be processed. It must not
be null
.com.unboundid.scim2.common.exceptions.ScimException
- If a connection cannot be obtained, if the search
does not complete successfully, or if a problem is
encountered while sending the request or reading
the response. If one or more entries or references
were returned before the failure was encountered,
then the wrapped LDAPSearchException
object may be examined to obtain information about
those entries and/or references.@Nullable SearchResultEntry searchForEntry(@NotNull javax.servlet.http.HttpServletRequest httpServletRequest, @NotNull SearchRequest searchRequest) throws com.unboundid.scim2.common.exceptions.ScimException
Note that if the search does not complete successfully, an
LDAPSearchException
wrapped by a ScimException
will be
thrown. In some cases, one or more search result entries or references may
have been returned before the failure response is received. In this case,
the LDAPSearchException
methods like getEntryCount
,
getSearchEntries
, getReferenceCount
, and
getSearchReferences
may be used to obtain information about those
entries and references.
httpServletRequest
- The HTTP servlet request associated with the
current operation.searchRequest
- The search request to be processed. If it is
configured with a search result listener or a
size limit other than one, then the provided
request will be duplicated with the appropriate
settings.null
if no
entry was returned or the base entry does not exist.com.unboundid.scim2.common.exceptions.ScimException
- If a connection cannot be obtained, if the search
does not complete successfully, if more than a
single entry is returned, or if a problem is
encountered while parsing the provided filter
string, sending the request, or reading the
response. If one or more entries or references
were returned before the failure was encountered,
then the wrapped LDAPSearchException
object may be examined to obtain information about
those entries and/or references.@NotNull ExtendedResult processExtendedRequest(@NotNull javax.servlet.http.HttpServletRequest httpServletRequest, @NotNull ExtendedRequest extendedRequest) throws com.unboundid.scim2.common.exceptions.ScimException
Note that some extended request types, such as the StartTLS extended request, may change the state of the underlying connection and should not be invoked through this interface.
httpServletRequest
- The HTTP servlet request associated with the
current operation.extendedRequest
- The extended request to be processed. It must
not be null
.com.unboundid.scim2.common.exceptions.ScimException
- If a problem occurs while sending the request or
reading the response.