org.jboss.security.propertyeditor
Class PrincipalEditor

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended byorg.jboss.security.propertyeditor.PrincipalEditor
All Implemented Interfaces:
PropertyEditor

public class PrincipalEditor
extends PropertyEditorSupport

A property editor for java.security.Principals that uses the org.jboss.security.SimplePrincipal

Version:
$Revision: 1.2 $
Author:
Scott.Stark@jboss.org

Constructor Summary
PrincipalEditor()
           
 
Method Summary
 String getAsText()
           
 void setAsText(String text)
          Build a SimplePrincipal
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrincipalEditor

public PrincipalEditor()
Method Detail

setAsText

public void setAsText(String text)
Build a SimplePrincipal


getAsText

public String getAsText()
Returns:
the name of the Principal


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.