FileDocCategorySizeDatePackage
LoginConfig.javaAPI DocGlassfish v2 API12820Fri May 04 22:34:38 BST 2007com.sun.enterprise.tools.common.dd

LoginConfig

public class LoginConfig extends com.sun.enterprise.tools.common.dd.SunBaseBean
This generated bean class LoginConfig matches the schema element login-config Generated on Wed Aug 13 12:12:26 PDT 2003

Fields Summary
static Vector
comparators
public static final String
AUTH_METHOD
Constructors Summary
public LoginConfig()

	// NOI18N

	  
		this(Common.USE_DEFAULT_VALUES);
	
public LoginConfig(int options)

		super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
		// Properties (see root bean comments for the bean graph)
		this.createProperty("auth-method", 	// NOI18N
			AUTH_METHOD, 
			Common.TYPE_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		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("AuthMethod");	// NOI18N
		str.append(indent+"\t");	// NOI18N
		str.append("<");	// NOI18N
		s = this.getAuthMethod();
		str.append((s==null?"null":s.trim()));	// NOI18N
		str.append(">\n");	// NOI18N
		this.dumpAttributes(AUTH_METHOD, 0, str, indent);

	
public java.lang.StringdumpBeanNode()

		StringBuffer str = new StringBuffer();
		str.append("LoginConfig\n");	// NOI18N
		this.dump(str, "\n  ");	// NOI18N
		return str.toString();
	
public java.lang.StringgetAuthMethod()

		return (String)this.getValue(AUTH_METHOD);
	
voidinitialize(int options)

	
	
public static voidremoveComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.remove(c);
	
public voidsetAuthMethod(java.lang.String value)

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

		boolean restrictionFailure = false;
		// Validating property authMethod
		if (getAuthMethod() == null) {
			throw new org.netbeans.modules.schema2beans.ValidateException("getAuthMethod() == null", "authMethod", this);	// NOI18N
		}