Package org.apache.geronimo.jee.deployment

Examples of org.apache.geronimo.jee.deployment.XmlAttributeType


  JAXBElement<XmlAttributeType> xmlrefElement = getXmlReferenceElement(elelist);
  if (xmlrefElement == null) {
      xmlrefElement = objectFactory.createGbeanXmlReference(null);
      elelist.add(xmlrefElement);
  }
  XmlAttributeType xmlAtttribute = new XmlAttributeType();
  xmlAtttribute.setName("LoginModuleConfiguration");
  xmlrefElement.setValue(xmlAtttribute);

  LoginConfig config = new LoginConfig();
  xmlAtttribute.setAny(config);
  LoginModule loginModule = new LoginModule();
  config.getLoginModuleRefOrLoginModule().add(loginModule);
  loginModule.setControlFlag(ControlFlag.fromValue("REQUIRED"));
  loginModule.setWrapPrincipals(false);
  loginModule.setLoginDomainName(realmName);
View Full Code Here

TOP

Related Classes of org.apache.geronimo.jee.deployment.XmlAttributeType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.