edu.internet2.middleware.ldappc.spml
Class PSP
java.lang.Object
edu.internet2.middleware.shibboleth.common.config.BaseService
edu.internet2.middleware.shibboleth.common.config.BaseReloadableService
edu.internet2.middleware.ldappc.spml.provider.BaseSpmlProvider
edu.internet2.middleware.ldappc.spml.PSP
- All Implemented Interfaces:
- SpmlProvider, edu.internet2.middleware.shibboleth.common.service.ReloadableService, edu.internet2.middleware.shibboleth.common.service.Service, org.springframework.beans.factory.BeanNameAware, org.springframework.context.ApplicationContextAware
public class PSP
- extends BaseSpmlProvider
An incomplete SPML 2 Provisioning Service Provider.
| Nested classes/interfaces inherited from class edu.internet2.middleware.shibboleth.common.config.BaseReloadableService |
edu.internet2.middleware.shibboleth.common.config.BaseReloadableService.ConfigurationResourceListener |
|
Constructor Summary |
PSP()
Constructor |
|
Method Summary |
org.openspml.v2.msg.spml.AddRequest |
add(org.openspml.v2.msg.spml.PSO pso,
org.openspml.v2.msg.spml.ReturnData returnData)
|
org.openspml.v2.msg.spml.AddResponse |
execute(org.openspml.v2.msg.spml.AddRequest addRequest)
|
BulkCalcResponse |
execute(BulkCalcRequest bulkCalcRequest)
|
BulkDiffResponse |
execute(BulkDiffRequest bulkDiffRequest)
|
BulkSyncResponse |
execute(BulkSyncRequest bulkSyncRequest)
|
CalcResponse |
execute(CalcRequest calcRequest)
|
org.openspml.v2.msg.spml.DeleteResponse |
execute(org.openspml.v2.msg.spml.DeleteRequest deleteRequest)
|
DiffResponse |
execute(DiffRequest diffRequest)
|
org.openspml.v2.msg.spml.ListTargetsResponse |
execute(org.openspml.v2.msg.spml.ListTargetsRequest listTargetsRequest)
|
org.openspml.v2.msg.spml.LookupResponse |
execute(org.openspml.v2.msg.spml.LookupRequest lookupRequest)
|
org.openspml.v2.msg.spml.ModifyResponse |
execute(org.openspml.v2.msg.spml.ModifyRequest modifyRequest)
|
org.openspml.v2.msg.spmlsearch.SearchResponse |
execute(org.openspml.v2.msg.spmlsearch.SearchRequest searchRequest)
|
SyncResponse |
execute(SyncRequest syncRequest)
|
edu.internet2.middleware.shibboleth.common.attribute.AttributeAuthority |
getAttributeAuthority()
|
static Map<String,org.openspml.v2.profiles.dsml.DSMLAttr> |
getDSMLAttrMap(org.openspml.v2.msg.spml.Extensible data)
|
String |
getId()
|
PSPContext |
getProvisioningContext(ProvisioningRequest provisioningRequest)
|
static PSP |
getPSP(PSPOptions pspOptions)
|
PSPOptions |
getPspOptions()
|
static Map<String,List<org.openspml.v2.msg.spmlref.Reference>> |
getReferences(org.openspml.v2.msg.spml.CapabilityData[] capabilityDataArray)
|
Map<TargetDefinition,List<PSODefinition>> |
getTargetAndObjectDefinitions(ProvisioningRequest request)
|
Map<TargetDefinition,List<PSODefinition>> |
getTargetAndObjectDefinitions(org.openspml.v2.msg.spml.SchemaEntityRef schemaEntityRef)
|
Map<String,TargetDefinition> |
getTargetDefinitions()
|
void |
initialize()
|
boolean |
isValid(org.openspml.v2.msg.spml.AddRequest addRequest,
org.openspml.v2.msg.spml.AddResponse addResponse)
|
boolean |
isValid(BulkProvisioningRequest provisioningRequest,
ProvisioningResponse provisioningResponse)
|
boolean |
isValid(org.openspml.v2.msg.spml.ModifyRequest modifyRequest,
org.openspml.v2.msg.spml.ModifyResponse modifyResponse)
|
boolean |
isValid(ProvisioningRequest provisioningRequest,
ProvisioningResponse provisioningResponse)
|
boolean |
isValid(org.openspml.v2.msg.spml.PSOIdentifier psoID,
org.openspml.v2.msg.spml.Response response)
|
boolean |
isValid(org.openspml.v2.msg.spml.Response response)
|
boolean |
isValid(org.openspml.v2.msg.spmlsearch.SearchRequest searchRequest,
org.openspml.v2.msg.spmlsearch.SearchResponse searchResponse)
|
protected void |
onNewContextCreated(org.springframework.context.ApplicationContext newServiceContext)
|
Set<org.openspml.v2.msg.spml.PSOIdentifier> |
searchForPsoIds(Map<TargetDefinition,List<PSODefinition>> map)
|
void |
setAttributeAuthority(edu.internet2.middleware.shibboleth.common.attribute.AttributeAuthority attributeAuthority)
|
void |
setId(String id)
Sets the id. |
void |
setPspOptions(PSPOptions pspOptions)
|
| Methods inherited from class edu.internet2.middleware.shibboleth.common.config.BaseReloadableService |
destroy, getPollingFrequency, getPollingRetryAttempts, getPollingTimer, reload, setPollingFrequency, setPollingRetryAttempts, setPollingTimer |
| Methods inherited from class edu.internet2.middleware.shibboleth.common.config.BaseService |
getApplicationContext, getReadWriteLock, getServiceConfigurations, getServiceContext, isDestroyed, isInitialized, loadContext, setApplicationContext, setBeanName, setInitialized, setServiceConfigurations, setServiceContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.internet2.middleware.shibboleth.common.service.Service |
isDestroyed, isInitialized |
DEFAULT_BEAN_NAME
public static final String DEFAULT_BEAN_NAME
- Configuration xml element name.
- See Also:
- Constant Field Values
PSP
public PSP()
- Constructor
initialize
public void initialize()
throws edu.internet2.middleware.shibboleth.common.service.ServiceException
- Specified by:
initialize in interface edu.internet2.middleware.shibboleth.common.service.Service- Overrides:
initialize in class edu.internet2.middleware.shibboleth.common.config.BaseReloadableService
- Throws:
edu.internet2.middleware.shibboleth.common.service.ServiceException
getPSP
public static PSP getPSP(PSPOptions pspOptions)
throws org.opensaml.util.resource.ResourceException
- Throws:
org.opensaml.util.resource.ResourceException
getPspOptions
public PSPOptions getPspOptions()
- Returns:
- Returns the pspOptions.
setPspOptions
public void setPspOptions(PSPOptions pspOptions)
- Parameters:
pspOptions - The pspOptions to set.
execute
public CalcResponse execute(CalcRequest calcRequest)
execute
public DiffResponse execute(DiffRequest diffRequest)
execute
public SyncResponse execute(SyncRequest syncRequest)
execute
public org.openspml.v2.msg.spml.LookupResponse execute(org.openspml.v2.msg.spml.LookupRequest lookupRequest)
execute
public org.openspml.v2.msg.spmlsearch.SearchResponse execute(org.openspml.v2.msg.spmlsearch.SearchRequest searchRequest)
execute
public org.openspml.v2.msg.spml.AddResponse execute(org.openspml.v2.msg.spml.AddRequest addRequest)
execute
public org.openspml.v2.msg.spml.DeleteResponse execute(org.openspml.v2.msg.spml.DeleteRequest deleteRequest)
execute
public org.openspml.v2.msg.spml.ModifyResponse execute(org.openspml.v2.msg.spml.ModifyRequest modifyRequest)
execute
public org.openspml.v2.msg.spml.ListTargetsResponse execute(org.openspml.v2.msg.spml.ListTargetsRequest listTargetsRequest)
execute
public BulkCalcResponse execute(BulkCalcRequest bulkCalcRequest)
execute
public BulkDiffResponse execute(BulkDiffRequest bulkDiffRequest)
execute
public BulkSyncResponse execute(BulkSyncRequest bulkSyncRequest)
getId
public String getId()
- Description copied from class:
BaseSpmlProvider
-
- Specified by:
getId in interface edu.internet2.middleware.shibboleth.common.service.Service- Overrides:
getId in class BaseSpmlProvider
setId
public void setId(String id)
- Description copied from class:
BaseSpmlProvider
- Sets the id.
- Overrides:
setId in class BaseSpmlProvider
getAttributeAuthority
public edu.internet2.middleware.shibboleth.common.attribute.AttributeAuthority getAttributeAuthority()
setAttributeAuthority
public void setAttributeAuthority(edu.internet2.middleware.shibboleth.common.attribute.AttributeAuthority attributeAuthority)
getProvisioningContext
public PSPContext getProvisioningContext(ProvisioningRequest provisioningRequest)
throws edu.internet2.middleware.shibboleth.common.attribute.AttributeRequestException,
org.openspml.v2.util.Spml2Exception,
LdappcException
- Throws:
edu.internet2.middleware.shibboleth.common.attribute.AttributeRequestException
org.openspml.v2.util.Spml2Exception
LdappcException
getTargetDefinitions
public Map<String,TargetDefinition> getTargetDefinitions()
getTargetAndObjectDefinitions
public Map<TargetDefinition,List<PSODefinition>> getTargetAndObjectDefinitions(ProvisioningRequest request)
throws LdappcException
- Throws:
LdappcException
getTargetAndObjectDefinitions
public Map<TargetDefinition,List<PSODefinition>> getTargetAndObjectDefinitions(org.openspml.v2.msg.spml.SchemaEntityRef schemaEntityRef)
throws LdappcException
- Throws:
LdappcException
onNewContextCreated
protected void onNewContextCreated(org.springframework.context.ApplicationContext newServiceContext)
throws edu.internet2.middleware.shibboleth.common.service.ServiceException
- Specified by:
onNewContextCreated in class edu.internet2.middleware.shibboleth.common.config.BaseService
- Throws:
edu.internet2.middleware.shibboleth.common.service.ServiceException
getDSMLAttrMap
public static Map<String,org.openspml.v2.profiles.dsml.DSMLAttr> getDSMLAttrMap(org.openspml.v2.msg.spml.Extensible data)
getReferences
public static Map<String,List<org.openspml.v2.msg.spmlref.Reference>> getReferences(org.openspml.v2.msg.spml.CapabilityData[] capabilityDataArray)
throws LdappcException
- Throws:
LdappcException
add
public org.openspml.v2.msg.spml.AddRequest add(org.openspml.v2.msg.spml.PSO pso,
org.openspml.v2.msg.spml.ReturnData returnData)
searchForPsoIds
public Set<org.openspml.v2.msg.spml.PSOIdentifier> searchForPsoIds(Map<TargetDefinition,List<PSODefinition>> map)
isValid
public boolean isValid(org.openspml.v2.msg.spml.AddRequest addRequest,
org.openspml.v2.msg.spml.AddResponse addResponse)
isValid
public boolean isValid(BulkProvisioningRequest provisioningRequest,
ProvisioningResponse provisioningResponse)
isValid
public boolean isValid(org.openspml.v2.msg.spml.ModifyRequest modifyRequest,
org.openspml.v2.msg.spml.ModifyResponse modifyResponse)
isValid
public boolean isValid(ProvisioningRequest provisioningRequest,
ProvisioningResponse provisioningResponse)
isValid
public boolean isValid(org.openspml.v2.msg.spml.PSOIdentifier psoID,
org.openspml.v2.msg.spml.Response response)
isValid
public boolean isValid(org.openspml.v2.msg.spml.Response response)
isValid
public boolean isValid(org.openspml.v2.msg.spmlsearch.SearchRequest searchRequest,
org.openspml.v2.msg.spmlsearch.SearchResponse searchResponse)
Copyright © 2012 Internet2. All Rights Reserved.