public class DirectoryAccessProtocolService extends BaseServiceClient
NOTE: This is an incomplete service client tested with SYMLABS.
| Modifier and Type | Class and Description |
|---|---|
static class |
DirectoryAccessProtocolService.RequestType
Enumeration of the 5 request types possib le within
ID-SIS-DAP
|
| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
log |
static String |
OPTION_NO_PAGINATION
Pagination of results is OPTIONAL (typically, the backend would have to implement [RFC2696]
or [LDAPVLV]).
|
static String |
OPTION_NO_SORTING
Sorting is OPTIONAL (typically, the back end would have to implement [RFC2891]).
|
static String |
OPTION_NO_STATIC
Support static sets in pagination is OPTIONAL (the backend probably would have to support [LDAPVLV]).
|
static String |
OPTION_NO_SUBSCRIBE
Supporting objectType "_Subscription" is OPTIONAL (typically, the backend would have
to support [LDAPPSearch]).
|
static String |
SERVICE_URN
This is the URN representing the ID-SIS-DAP Service
|
static String |
SIMULATION_URN
The simulation method using the ProcessingContext header with value "urn:liberty:sb:2003-08:ProcessingContext:Simulate,"
as specified in [LibertySOAPBinding], MUST be supported.
|
| Constructor and Description |
|---|
DirectoryAccessProtocolService(DiscoveryService discoveryService,
EndpointReference initialEndpointReference) |
| Modifier and Type | Method and Description |
|---|---|
Hashtable<String,String> |
getEntityAttributes(List<String> attributeNames,
boolean isSimulation)
Takes a list of attributes and returns a Hashtable of
attribute key:value pairs.
|
List<DAPQueryResponse> |
invokeQueries(List<DAPQuery> queries,
boolean isSimulation)
Send a list of DAPQuery objects and
|
DAPQueryResponse |
invokeQuery(DAPQuery query,
boolean isSimulation)
Invokes a single DAPQUery
|
private org.opensaml.soap.soap11.Body |
invokeRequest(List bodyObjects,
DirectoryAccessProtocolService.RequestType requestType,
boolean isSimulation)
This method provides support for multiple QueryItem elements
|
DAPModifyResponse |
modify(DAPModify request,
boolean isSimulation) |
List<DAPModifyResponse> |
modify(List<DAPModify> modifications,
boolean isSimulation) |
Hashtable<String,String> |
modifyEntityAttributes(Hashtable<String,String> attributes,
boolean isSimulation)
Takes a hash of attribute pairs and sends them in a
DAPModify request, the
results returned in a similar hash. |
boolean |
serviceDoesNotSupportPagination()
If pagination is not supported for objectType "entry" this method
returns true.
|
boolean |
serviceDoesNotSupportSorting()
If sorting is not supported for objectType "entry" this will return true
|
boolean |
serviceDoesNotSupportStatic()
This method returns true if the server does not
support static sets in pagination.
|
boolean |
serviceDoesNotSupportSubscribe()
returns true id subscribe is not supported by the server
|
static DirectoryAccessProtocolService |
serviceForEndpointReference(DiscoveryService discoveryService,
EndpointReference epr)
Factory method that creates and initializes a DirectoryAccessProtocolService.
|
getDiscoveryService, getServiceEndpointReference, getServiceEndpointReferenceStore, isSigningOutgoingMessages, replaceServiceEndpointReference, serviceExplicitlySupportsOption, setDiscoveryService, setServiceEndpointReference, setSigningOutgoingMessagesprotected static Logger log
public static final String SERVICE_URN
public static final String OPTION_NO_SORTING
public static final String OPTION_NO_PAGINATION
public static final String OPTION_NO_STATIC
public static final String OPTION_NO_SUBSCRIBE
public static final String SIMULATION_URN
public DirectoryAccessProtocolService(DiscoveryService discoveryService, EndpointReference initialEndpointReference)
public static DirectoryAccessProtocolService serviceForEndpointReference(DiscoveryService discoveryService, EndpointReference epr)
epr - public boolean serviceDoesNotSupportSorting()
public boolean serviceDoesNotSupportPagination()
public boolean serviceDoesNotSupportStatic()
public boolean serviceDoesNotSupportSubscribe()
public Hashtable<String,String> modifyEntityAttributes(Hashtable<String,String> attributes, boolean isSimulation)
DAPModify request, the
results returned in a similar hash.attributes - isSimulation - public Hashtable<String,String> getEntityAttributes(List<String> attributeNames, boolean isSimulation)
attributeNames - isSimulation - public DAPQueryResponse invokeQuery(DAPQuery query, boolean isSimulation)
query - isSimulation - public List<DAPQueryResponse> invokeQueries(List<DAPQuery> queries, boolean isSimulation)
queries - public DAPModifyResponse modify(DAPModify request, boolean isSimulation)
public List<DAPModifyResponse> modify(List<DAPModify> modifications, boolean isSimulation)
private org.opensaml.soap.soap11.Body invokeRequest(List bodyObjects, DirectoryAccessProtocolService.RequestType requestType, boolean isSimulation)
As specified in [LibertyDST], a minimally compliant ID-SIS-PP implementation MUST support multiple QueryItem elements.
queryItems - Copyright © 1999–2015. All rights reserved.