FileDocCategorySizeDatePackage
Security.javaAPI DocGlassfish v2 API6775Fri May 04 22:31:18 BST 2007com.sun.enterprise.config.clientbeans

Security

public class Security extends com.sun.enterprise.config.ConfigBean implements Serializable
This 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 voidaddComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.add(c);
	
public voiddump(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.StringdumpBeanNode()

		StringBuffer str = new StringBuffer();
		str.append("Security\n");	// NOI18N
		this.dump(str, "\n  ");	// NOI18N
		return str.toString();
	
public CertDbgetCertDb()

		return (CertDb)this.getValue(CERT_DB);
	
public static java.lang.StringgetDefaultAttributeValue(java.lang.String attr)

		if(attr == null) return null;
		attr = attr.trim();
	return null;
	
protected java.lang.StringgetRelativeXPath()
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 SslgetSsl()

		return (Ssl)this.getValue(SSL);
	
voidinitialize(int options)


	
public CertDbnewCertDb()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new CertDb();
	
public SslnewSsl()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new Ssl();
	
public static voidremoveComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.remove(c);
	
public voidsetCertDb(CertDb value)

		this.setValue(CERT_DB, value);
	
public voidsetSsl(Ssl value)

		this.setValue(SSL, value);
	
public voidvalidate()