01: package org.osbl.identity.gui;
02:
03: import org.conform.*;
04:
05: public class PasswordPropertyData extends DefaultPropertyData {
06: public PasswordPropertyData(DefaultBeanData beanData,
07: PropertyMeta property) {
08: super (beanData, property);
09: }
10:
11: public Object getValue() {
12: Object value = super .getValue();
13: return value != null ? new String((char[]) value) : null;
14: }
15:
16: public void setValue(Object value) {
17: super .setValue(value != null ? ((String) value).toCharArray()
18: : null);
19: }
20: }
|