org.sourceid.saml20.adapter.gui
Class LdapDatastoreFieldDescriptor

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.LdapDatastoreFieldDescriptor
All Implemented Interfaces:
java.io.Serializable

public class LdapDatastoreFieldDescriptor
extends SelectFieldDescriptor

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

The value of this field in the Configuration will be the PingFederate assigned identifier of the LDAP connection information.

You can use this id to retrieve the corresponding LDAP info via DataSourceAccessor. From the LDAP Info, you will be able to access the requested LDAP datastore.

Author:
Brian Campbell
See Also:
DataSourceAccessor.getLdapInfo(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
LdapDatastoreFieldDescriptor(java.lang.String name, java.lang.String description)
          Create a new LdapDatastoreFieldDescriptor.
 
Method Summary
 java.util.List<AbstractSelectionFieldDescriptor.OptionValue> getOptionValues()
          Gets the option values list constructed from all the LDAP 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

LdapDatastoreFieldDescriptor

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

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 LDAP data sources configured in the system.

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


Copyright 2007 Ping Identity Corp. All rights reserved.