"Invalid Login Details", status);
return false;
}
// set a gbean according to the input from wizard
Gbean gbean = null;
if (eObject != null) {
gbean = (Gbean) ((JAXBElement) eObject).getValue();
isedit = true;
} else {
gbean = new Gbean();// create a new gbean
eObject = objectFactory.createGbean(gbean);
}
// add the data into gbean
String realmName = page0.textEntries[0].getText() == null ? ""
: page0.textEntries[0].getText();
gbean.setName(realmName);// set the gbean name the same as realm name
gbean
.setClazz("org.apache.geronimo.security.realm.GenericSecurityRealm");// TODO
// message
List<JAXBElement<?>> elelist = gbean
.getAttributeOrXmlAttributeOrReference();
// set the attribute
JAXBElement<Attribute> attributeElement = getAttributeElement(elelist);
if (attributeElement == null) {