|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.remoteservices.provider.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 |
FILTERING_NOT_SUPPORTED
Name for a Property indicates whether filtered searches are supported. |
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.lang.String serviceProviderFactory)
Creates new ServiceProviderInfo object. |
Method Summary | |
---|---|
java.lang.String |
getCurrentMode()
Gets the current communication mode. |
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[] |
getSupportedModes()
Gets the modes that are supported by this service. |
boolean |
isFilteringSupported()
Property indicates whether filtered searches are supported |
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. |
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 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 SERVICE_PROVIDER_FACTORY
Constructor Detail |
public ServiceProviderInformation(java.lang.String serviceProfileName, java.util.Properties properties)
serviceProfileName
- The name of the service profile which cannot be null or empty.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 which cannot be null or empty.properties
- The Properties read from the resource definition
file.serviceProviderFactory
- name of the Java class to instantiate the
ServiceProvider implementation which cannot be null or empty.Method Detail |
public java.lang.String getServiceProfileName()
public java.util.Properties getProperties()
public java.lang.String getCurrentMode()
public void setCurrentMode(java.lang.String currentMode)
currentMode
- The currently supported communication mode
(one of ResourceProperties.SYNCHRONOUS, ResourceProperties.ASYNCHRONOUS)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 isFilteringSupported()
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 |