|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.itim.remoteservices.provider.ServiceProviderInformation
public class ServiceProviderInformation
Encapsulates service provider configuration parameters, including properties read from resource definition files. No properties are required, however, several have special meaning in the enrole system. In particular, PROTOCOL_MODE Indicates the mode that the service provider operates in STORE_ACCOUNT_PASSWORD Indicates that the service provider stores the password and uses it for suspending and restoring entities FILTERING_NOT_SUPPORTED indicates whether filtered searches are supported
Field Summary | |
---|---|
static java.lang.String |
ASYNCHRONOUS
Name of a property indicating that the service provider is asynchronous. |
static java.lang.String |
DELETE_ATTRIBUTES_ON_MODIFY
Flag indicating whether to delete existing attributes that are not contained in the new reconciliation entry |
static java.lang.String |
FILTERING_NOT_SUPPORTED
Name for a Property indicates whether filtered searches are supported. |
static java.lang.String |
OPERATION_ADD
|
static java.lang.String |
OPERATION_CHANGE_PASSWORD
|
static java.lang.String |
OPERATION_COMPARE
|
static java.lang.String |
OPERATION_DELETE
|
static java.lang.String |
OPERATION_MODIFY
|
static java.lang.String |
OPERATION_RESTORE
|
static java.lang.String |
OPERATION_SEARCH
|
static java.lang.String |
OPERATION_SUSPEND
|
static java.lang.String |
OPERATION_TEST
|
static java.lang.String |
PASSWORD_NOT_ALLOWED_ON_RESTORE
Name for a property indicating that the password is NOT allowed when the account is restored. |
static java.lang.String |
PASSWORD_NOT_REQUIRED_ON_RESTORE
Name for a property indicating whether the password is required for restoring entities. |
static java.lang.String |
SERVICE_PROVIDER_FACTORY
Deprecated. Use method getServiceProviderFactory(). |
static java.lang.String |
STORE_ACCOUNT_PASSWORD
Name for a property indicating that the service provider stores the password and uses it for suspending and restoring entities. |
static java.lang.String |
SYNCHRONOUS
Name of a property indicating that the service provider is synchronous. |
Constructor Summary | |
---|---|
ServiceProviderInformation(java.lang.String serviceProfileName,
java.util.Properties properties)
Creates new ServiceProviderInfo object. |
|
ServiceProviderInformation(java.lang.String serviceProfileName,
java.util.Properties properties,
java.util.Map<java.lang.String,ServiceProviderInfoOperation> operationDescriptors,
java.lang.String complexHandler,
java.util.Collection<java.lang.String> complexAttrs,
java.util.Set<java.lang.String> multiValuedAttrNames,
java.lang.String serviceProviderFactory)
Creates new ServiceProviderInfo object. |
|
ServiceProviderInformation(java.lang.String serviceProfileName,
java.util.Properties properties,
java.lang.String serviceProviderFactory)
Creates new ServiceProviderInfo object. |
Method Summary | |
---|---|
java.lang.String |
getComplexAttributeHandlerClassName()
Return the name of the Complex Attribute Handler object class |
java.util.Collection<java.lang.String> |
getComplexAttributeNames()
Return the Collection of String complex attribute names |
java.lang.String |
getCurrentMode()
Gets the current communication mode. |
boolean |
getIsReplaceMultiValueAttribute(java.lang.String operationName,
java.lang.String attributeName)
return whether specified attribute is replace-multi-value for specified operation. |
boolean |
getIsRequiredAccountAttribute(java.lang.String operationName,
java.lang.String attributeName)
return whether specified attribute is required for specified operation. |
boolean |
getIsRequiredServiceAttribute(java.lang.String operationName,
java.lang.String attributeName)
return whether specified attribute is required for specified operation. |
boolean |
getIsSendOnlyAttribute(java.lang.String operationName,
java.lang.String attributeName)
return whether specified attribute is a send-only attribute for specified operation. |
ServiceProviderInfoOperation |
getOperationDescriptor(java.lang.String operationName)
get the specified operation descriptor. |
java.util.Map<java.lang.String,ServiceProviderInfoOperation> |
getOperationDescriptors()
get the map of operation descriptors, |
java.util.Properties |
getProperties()
Gets the protocol and behavior properties for the service type |
java.lang.String |
getServiceProfileName()
Gets the name of the service profile |
java.lang.String |
getServiceProviderFactory()
Returns the service provider factory for the service profile: the fully qualified name of the java class. |
java.lang.String[] |
getSupportedAttributeNames()
|
java.lang.String[] |
getSupportedModes()
Gets the modes that are supported by this service. |
boolean |
isComplexAttributeName(java.lang.String attrName)
Return whether the specified attribute is a complex attribute (to be processed by the complex attribute handler class). |
boolean |
isDeleteAttributesOnModify()
Property indicating that missing attributes should be deleted on a modify. |
boolean |
isFilteringSupported()
Property indicates whether filtered searches are supported |
boolean |
isMultiValuedAttribute(java.lang.String attrName)
return whether specified attribute name is one of the multi-valued account attributes |
boolean |
isPasswordAllowedOnRestore()
Property indicates that the account password MAY be send when restoring an account. |
boolean |
isPasswordRequiredOnRestore()
Property indicates that the account password is required for restoring accounts. |
boolean |
isStoreAccountPassword()
Deprecated. We not longer ever store the password locally, so the flag should not be used. |
void |
setCurrentMode(java.lang.String currentMode)
Sets the current communication mode. |
void |
setSupportedAttributeNames(java.lang.String[] supportedAttributeNames)
|
java.lang.String |
toString()
Format all of the parameters into a string |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String OPERATION_TEST
public static final java.lang.String OPERATION_ADD
public static final java.lang.String OPERATION_MODIFY
public static final java.lang.String OPERATION_DELETE
public static final java.lang.String OPERATION_SUSPEND
public static final java.lang.String OPERATION_RESTORE
public static final java.lang.String OPERATION_CHANGE_PASSWORD
public static final java.lang.String OPERATION_SEARCH
public static final java.lang.String OPERATION_COMPARE
public static final java.lang.String SYNCHRONOUS
public static final java.lang.String ASYNCHRONOUS
public static final java.lang.String STORE_ACCOUNT_PASSWORD
public static final java.lang.String PASSWORD_NOT_ALLOWED_ON_RESTORE
public static final java.lang.String PASSWORD_NOT_REQUIRED_ON_RESTORE
If method isPasswordAllowedOnRestore returns FALSE, then it will alway be assumed to be TRUE (password not required).
Actual text used in configuration files should be "com.ibm.itim.remoteservices.ResourceProperties.PASSWORD_NOT_REQUIRED_ON_RESTORE"
public static final java.lang.String FILTERING_NOT_SUPPORTED
public static final java.lang.String DELETE_ATTRIBUTES_ON_MODIFY
public static final java.lang.String SERVICE_PROVIDER_FACTORY
Constructor Detail |
---|
public ServiceProviderInformation(java.lang.String serviceProfileName, java.util.Properties properties)
serviceProfileName
- The name of the service profile. serviceProfileName cannot be
null, or the empty string.properties
- The Properties read from the resource definition file.public ServiceProviderInformation(java.lang.String serviceProfileName, java.util.Properties properties, java.lang.String serviceProviderFactory)
serviceProfileName
- The name of the service profile. serviceProfileName cannot be
null or the empty string.properties
- The Properties read from the resource definition file.serviceProviderFactory
- Name of the Java class to instantiate the ServiceProvider
implementation. serviceProviderFactory cannot be null or the
empty string.public ServiceProviderInformation(java.lang.String serviceProfileName, java.util.Properties properties, java.util.Map<java.lang.String,ServiceProviderInfoOperation> operationDescriptors, java.lang.String complexHandler, java.util.Collection<java.lang.String> complexAttrs, java.util.Set<java.lang.String> multiValuedAttrNames, java.lang.String serviceProviderFactory)
serviceProfileName
- The name of the service profile. serviceProfileName cannot be
null or the empty string.properties
- The Properties read from the resource definition file.operationDescriptors
- Map of operation descriptors, with key = operation name, value =
ServiceProviderInfoOperation objectcomplexHandler
- Name of class to handle complex attributescomplexAttrs
- Collection of String complex attribute namesmultiValuedAttrNames
- Set of multi-valued attribute names (lower case)serviceProviderFactory
- Name of the Java class to instantiate the ServiceProvider
implementation. serviceProviderFactory cannot be null or the
empty string.Method Detail |
---|
public java.lang.String getServiceProfileName()
public java.util.Properties getProperties()
public java.lang.String[] getSupportedAttributeNames()
public void setSupportedAttributeNames(java.lang.String[] supportedAttributeNames)
public boolean isMultiValuedAttribute(java.lang.String attrName)
attrName
- attribute name to check
public java.lang.String getCurrentMode()
public void setCurrentMode(java.lang.String currentMode)
currentMode
- The currently supported communication mode. One of:
public java.lang.String[] getSupportedModes()
public java.lang.String getServiceProviderFactory()
public boolean isStoreAccountPassword()
This property used to be used to indicate whether we needed to save a copy of the password in the local LDAP directory to be used for restoring accounts.
public boolean isPasswordAllowedOnRestore()
Note: this method is duplicated in class com.ibm.itim.dataservices.model.ServiceProfile
public boolean isPasswordRequiredOnRestore()
Note: this logic is duplicated in class com.ibm.itim.dataservices.model.ServiceProfile
public boolean isDeleteAttributesOnModify()
public boolean isFilteringSupported()
public java.util.Map<java.lang.String,ServiceProviderInfoOperation> getOperationDescriptors()
public ServiceProviderInfoOperation getOperationDescriptor(java.lang.String operationName)
operationName
- operation name
public boolean getIsRequiredAccountAttribute(java.lang.String operationName, java.lang.String attributeName)
operationName
- operation nameattributeName
- name of an account attribute
public boolean getIsRequiredServiceAttribute(java.lang.String operationName, java.lang.String attributeName)
operationName
- operation nameattributeName
- name of a service attribute
public boolean getIsSendOnlyAttribute(java.lang.String operationName, java.lang.String attributeName)
operationName
- operation nameattributeName
- name of an account or service attribute
public boolean getIsReplaceMultiValueAttribute(java.lang.String operationName, java.lang.String attributeName)
operationName
- operation nameattributeName
- name of an account or service attribute
public java.lang.String getComplexAttributeHandlerClassName()
public java.util.Collection<java.lang.String> getComplexAttributeNames()
public boolean isComplexAttributeName(java.lang.String attrName)
attrName
- attribute name to check
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |