org.sourceid.saml20.adapter.gui
Class UploadFileFieldDescriptor

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

public class UploadFileFieldDescriptor
extends FieldDescriptor

A field descriptor that will render a field upload field on the GUI configuration screen. The value of this field in the Configuration will be the base 64 encoded contents of the file the user chose to upload.

Author:
Brian Campbell
See Also:
AdapterConfigurationGuiDescriptor.addField(FieldDescriptor), AdapterConfigurationGuiDescriptor.addAdvancedField(FieldDescriptor), TableDescriptor.addRowField(FieldDescriptor), Field.getFileValueAsString(), Field.getFileValueAsByteArray(), Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.sourceid.saml20.adapter.gui.FieldDescriptor
FieldDescriptor.FieldValidationWrapper
 
Constructor Summary
UploadFileFieldDescriptor(java.lang.String name, java.lang.String description)
          Create a new TextFieldDescriptor.
 
Method Summary
 void setDefaultValue(java.lang.String defaultValue)
          Note: default values are not supported for the UploadFileFieldDescriptor field type.
 
Methods inherited from class org.sourceid.saml20.adapter.gui.FieldDescriptor
addValidator, addValidator, getDefaultValue, getDescription, getName, getValidationChain
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UploadFileFieldDescriptor

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

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

setDefaultValue

public void setDefaultValue(java.lang.String defaultValue)
Note: default values are not supported for the UploadFileFieldDescriptor field type.

Overrides:
setDefaultValue in class FieldDescriptor
Parameters:
defaultValue - for this field.


Copyright 2007 Ping Identity Corp. All rights reserved.