org.sourceid.saml20.adapter.gui
Class CustomSourceFieldDescriptor

java.lang.Object
  extended by org.sourceid.saml20.adapter.gui.FieldDescriptor
      extended by org.sourceid.saml20.adapter.gui.AbstractSelectionFieldDescriptor
          extended by org.sourceid.saml20.adapter.gui.SelectFieldDescriptor
              extended by org.sourceid.saml20.adapter.gui.CustomSourceFieldDescriptor
All Implemented Interfaces:
java.io.Serializable

public class CustomSourceFieldDescriptor
extends SelectFieldDescriptor

A field descriptor that will render (in GUI configuration screen) a drop down selection of all the configured Custom Source data stores.

The value of this field in the Configuration will be the ID of the Data Store (datasource).

To retrieve a driver configured with the attributes associated with this Custom Source, use the DataSourceAccessor class.

See Also:
DataSourceAccessor.getCustomDataSourceDriver(String), AdapterConfigurationGuiDescriptor.addField(FieldDescriptor), AdapterConfigurationGuiDescriptor.addAdvancedField(FieldDescriptor), TableDescriptor.addRowField(FieldDescriptor), Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.sourceid.saml20.adapter.gui.AbstractSelectionFieldDescriptor
AbstractSelectionFieldDescriptor.OptionValue
 
Nested classes/interfaces inherited from class org.sourceid.saml20.adapter.gui.FieldDescriptor
FieldDescriptor.FieldValidationWrapper
 
Field Summary
 
Fields inherited from class org.sourceid.saml20.adapter.gui.SelectFieldDescriptor
SELECT_ONE
 
Fields inherited from class org.sourceid.saml20.adapter.gui.AbstractSelectionFieldDescriptor
optionValues
 
Constructor Summary
CustomSourceFieldDescriptor(java.lang.String name, java.lang.String description)
          Create a new CustomSourceFieldDescriptor.
 
Method Summary
 java.util.List<AbstractSelectionFieldDescriptor.OptionValue> getOptionValues()
          Gets the option values list constructed from all the JDBC data sources configured in the system.
 
Methods inherited from class org.sourceid.saml20.adapter.gui.FieldDescriptor
addValidator, addValidator, getDefaultValue, getDescription, getName, getValidationChain, setDefaultValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomSourceFieldDescriptor

public CustomSourceFieldDescriptor(java.lang.String name,
                                   java.lang.String description)
Create a new CustomSourceFieldDescriptor.

Parameters:
name - the field name (must be unique per AdapterConfigurationGuiDescriptor or TableDescriptor).
description - a helpful description of the field.
Method Detail

getOptionValues

public java.util.List<AbstractSelectionFieldDescriptor.OptionValue> getOptionValues()
Gets the option values list constructed from all the JDBC data sources configured in the system.

Overrides:
getOptionValues in class AbstractSelectionFieldDescriptor
Returns:
the option value list.


Copyright 2007 Ping Identity Corp. All rights reserved.