com.evolveum.icf.dummy.connector
Class DummyConfiguration

java.lang.Object
  extended by org.identityconnectors.framework.spi.AbstractConfiguration
      extended by com.evolveum.icf.dummy.connector.DummyConfiguration
All Implemented Interfaces:
org.identityconnectors.framework.spi.Configuration

public class DummyConfiguration
extends org.identityconnectors.framework.spi.AbstractConfiguration

Extends the AbstractConfiguration class to provide all the necessary parameters to initialize the Test Connector.

Version:
$Revision$ $Date$
Author:
$author$

Constructor Summary
DummyConfiguration()
           
 
Method Summary
 java.lang.String getInstanceId()
          Defines name of the dummy resource instance.
 boolean getReadablePassword()
          If set to true then the password can be read from the resource.
 boolean getSupportSchema()
          If set to false the connector will return UnsupportedOperationException when trying to get the schema.
 org.identityconnectors.common.security.GuardedString getUselessGuardedString()
          Useless GuardedString-value configuration variable.
 java.lang.String getUselessString()
          Useless string-value configuration variable.
 void setInstanceId(java.lang.String config)
           
 void setReadablePassword(boolean readablePassword)
           
 void setSupportSchema(boolean supportSchema)
           
 void setUselessGuardedString(org.identityconnectors.common.security.GuardedString uselessGuardedString)
           
 void setUselessString(java.lang.String uselessString)
           
 void validate()
          
 
Methods inherited from class org.identityconnectors.framework.spi.AbstractConfiguration
getConnectorMessages, setConnectorMessages
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyConfiguration

public DummyConfiguration()
Method Detail

getInstanceId

public java.lang.String getInstanceId()
Defines name of the dummy resource instance. There may be several dummy resource running in parallel. This ID selects one of them. If not set a default instance will be selected.


setInstanceId

public void setInstanceId(java.lang.String config)

getSupportSchema

public boolean getSupportSchema()
If set to false the connector will return UnsupportedOperationException when trying to get the schema.


setSupportSchema

public void setSupportSchema(boolean supportSchema)

getReadablePassword

public boolean getReadablePassword()
If set to true then the password can be read from the resource.


setReadablePassword

public void setReadablePassword(boolean readablePassword)

getUselessString

public java.lang.String getUselessString()
Useless string-value configuration variable. It is used for testing the configuration schema and things like that.


setUselessString

public void setUselessString(java.lang.String uselessString)

getUselessGuardedString

public org.identityconnectors.common.security.GuardedString getUselessGuardedString()
Useless GuardedString-value configuration variable. It is used for testing the configuration schema and things like that.


setUselessGuardedString

public void setUselessGuardedString(org.identityconnectors.common.security.GuardedString uselessGuardedString)

validate

public void validate()

Specified by:
validate in interface org.identityconnectors.framework.spi.Configuration
Specified by:
validate in class org.identityconnectors.framework.spi.AbstractConfiguration


Copyright © 2012 evolveum. All Rights Reserved.