Securitypublic class Security extends com.sun.enterprise.config.ConfigBean implements SerializableThis generated bean class Security matches the DTD element security |
Fields Summary |
---|
static Vector | comparators | private static final org.netbeans.modules.schema2beans.Version | runtimeVersion | public static final String | SSL | public static final String | CERT_DB |
Constructors Summary |
---|
public Security()
this(Common.USE_DEFAULT_VALUES);
| public Security(int options)
super(comparators, runtimeVersion);
// Properties (see root bean comments for the bean graph)
initPropertyTables(2);
this.createProperty("ssl", SSL,
Common.TYPE_1 | Common.TYPE_BEAN | Common.TYPE_KEY,
Ssl.class);
this.createAttribute(SSL, "cert-nickname", "CertNickname",
AttrProp.CDATA | AttrProp.IMPLIED,
null, null);
this.createAttribute(SSL, "ssl2-enabled", "Ssl2Enabled",
AttrProp.CDATA,
null, "false");
this.createAttribute(SSL, "ssl2-ciphers", "Ssl2Ciphers",
AttrProp.CDATA | AttrProp.IMPLIED,
null, null);
this.createAttribute(SSL, "ssl3-enabled", "Ssl3Enabled",
AttrProp.CDATA,
null, "true");
this.createAttribute(SSL, "ssl3-tls-ciphers", "Ssl3TlsCiphers",
AttrProp.CDATA | AttrProp.IMPLIED,
null, null);
this.createAttribute(SSL, "tls-enabled", "TlsEnabled",
AttrProp.CDATA,
null, "true");
this.createAttribute(SSL, "tls-rollback-enabled", "TlsRollbackEnabled",
AttrProp.CDATA,
null, "true");
this.createProperty("cert-db", CERT_DB,
Common.TYPE_1 | Common.TYPE_BEAN | Common.TYPE_KEY,
CertDb.class);
this.createAttribute(CERT_DB, "path", "Path",
AttrProp.CDATA | AttrProp.REQUIRED,
null, null);
this.createAttribute(CERT_DB, "password", "Password",
AttrProp.CDATA | AttrProp.REQUIRED,
null, null);
this.initialize(options);
|
Methods Summary |
---|
public static void | addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.add(c);
| public void | dump(java.lang.StringBuffer str, java.lang.String indent)
String s;
Object o;
org.netbeans.modules.schema2beans.BaseBean n;
str.append(indent);
str.append("Ssl"); // NOI18N
n = (org.netbeans.modules.schema2beans.BaseBean) this.getSsl();
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(SSL, 0, str, indent);
str.append(indent);
str.append("CertDb"); // NOI18N
n = (org.netbeans.modules.schema2beans.BaseBean) this.getCertDb();
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(CERT_DB, 0, str, indent);
| public java.lang.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("Security\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
| public CertDb | getCertDb()
return (CertDb)this.getValue(CERT_DB);
| public static java.lang.String | getDefaultAttributeValue(java.lang.String attr)
if(attr == null) return null;
attr = attr.trim();
return null;
| protected java.lang.String | getRelativeXPath()get the xpath representation for this element
returns something like abc[@name='value'] or abc
depending on the type of the bean
String ret = null;
ret = "security";
return (null != ret ? ret.trim() : null);
| public Ssl | getSsl()
return (Ssl)this.getValue(SSL);
| void | initialize(int options)
| public CertDb | newCertDb()Create a new bean using it's default constructor.
This does not add it to any bean graph.
return new CertDb();
| public Ssl | newSsl()Create a new bean using it's default constructor.
This does not add it to any bean graph.
return new Ssl();
| public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
| public void | setCertDb(CertDb value)
this.setValue(CERT_DB, value);
| public void | setSsl(Ssl value)
this.setValue(SSL, value);
| public void | validate()
|
|