FileDocCategorySizeDatePackage
SecurityService.javaAPI DocGlassfish v2 API27661Sun Dec 10 15:26:10 GMT 2006com.sun.enterprise.config.serverbeans

SecurityService

public class SecurityService extends com.sun.enterprise.config.ConfigBean implements Serializable
This generated bean class SecurityService matches the DTD element security-service

Fields Summary
static Vector
comparators
private static final org.netbeans.modules.schema2beans.Version
runtimeVersion
public static final String
AUTH_REALM
public static final String
JACC_PROVIDER
public static final String
AUDIT_MODULE
public static final String
MESSAGE_SECURITY_CONFIG
public static final String
ELEMENT_PROPERTY
Constructors Summary
public SecurityService()


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

		super(comparators, runtimeVersion);
		// Properties (see root bean comments for the bean graph)
		initPropertyTables(5);
		this.createProperty("auth-realm", AUTH_REALM, 
			Common.TYPE_1_N | Common.TYPE_BEAN | Common.TYPE_KEY, 
			AuthRealm.class);
		this.createAttribute(AUTH_REALM, "name", "Name", 
						AttrProp.CDATA | AttrProp.REQUIRED,
						null, null);
		this.createAttribute(AUTH_REALM, "classname", "Classname", 
						AttrProp.CDATA | AttrProp.REQUIRED,
						null, null);
		this.createProperty("jacc-provider", JACC_PROVIDER, 
			Common.TYPE_1_N | Common.TYPE_BEAN | Common.TYPE_KEY, 
			JaccProvider.class);
		this.createAttribute(JACC_PROVIDER, "name", "Name", 
						AttrProp.CDATA | AttrProp.REQUIRED,
						null, null);
		this.createAttribute(JACC_PROVIDER, "policy-provider", "PolicyProvider", 
						AttrProp.CDATA | AttrProp.REQUIRED,
						null, null);
		this.createAttribute(JACC_PROVIDER, "policy-configuration-factory-provider", "PolicyConfigurationFactoryProvider", 
						AttrProp.CDATA | AttrProp.REQUIRED,
						null, null);
		this.createProperty("audit-module", AUDIT_MODULE, 
			Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY, 
			AuditModule.class);
		this.createAttribute(AUDIT_MODULE, "name", "Name", 
						AttrProp.CDATA | AttrProp.REQUIRED,
						null, null);
		this.createAttribute(AUDIT_MODULE, "classname", "Classname", 
						AttrProp.CDATA | AttrProp.REQUIRED,
						null, null);
		this.createProperty("message-security-config", MESSAGE_SECURITY_CONFIG, 
			Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY, 
			MessageSecurityConfig.class);
		this.createAttribute(MESSAGE_SECURITY_CONFIG, "auth-layer", "AuthLayer", 
						AttrProp.CDATA | AttrProp.REQUIRED,
						null, null);
		this.createAttribute(MESSAGE_SECURITY_CONFIG, "default-provider", "DefaultProvider", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(MESSAGE_SECURITY_CONFIG, "default-client-provider", "DefaultClientProvider", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createProperty("property", ELEMENT_PROPERTY, 
			Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY, 
			ElementProperty.class);
		this.createAttribute(ELEMENT_PROPERTY, "name", "Name", 
						AttrProp.CDATA | AttrProp.REQUIRED,
						null, null);
		this.createAttribute(ELEMENT_PROPERTY, "value", "Value", 
						AttrProp.CDATA | AttrProp.REQUIRED,
						null, null);
		this.initialize(options);
	
Methods Summary
public intaddAuditModule(AuditModule value)

		return addAuditModule(value, true);
	
public intaddAuditModule(AuditModule value, boolean overwrite)

		AuditModule old = getAuditModuleByName(value.getName());
		if(old != null) {
			throw new ConfigException(StringManager.getManager(SecurityService.class).getString("cannotAddDuplicate",  "AuditModule"));
		}
		return this.addValue(AUDIT_MODULE, value, overwrite);
	
public intaddAuthRealm(AuthRealm value)

		return addAuthRealm(value, true);
	
public intaddAuthRealm(AuthRealm value, boolean overwrite)

		AuthRealm old = getAuthRealmByName(value.getName());
		if(old != null) {
			throw new ConfigException(StringManager.getManager(SecurityService.class).getString("cannotAddDuplicate",  "AuthRealm"));
		}
		return this.addValue(AUTH_REALM, value, overwrite);
	
public static voidaddComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.add(c);
	
public intaddElementProperty(ElementProperty value)

		return addElementProperty(value, true);
	
public intaddElementProperty(ElementProperty value, boolean overwrite)

		ElementProperty old = getElementPropertyByName(value.getName());
		if(old != null) {
			throw new ConfigException(StringManager.getManager(SecurityService.class).getString("cannotAddDuplicate",  "ElementProperty"));
		}
		return this.addValue(ELEMENT_PROPERTY, value, overwrite);
	
public intaddJaccProvider(JaccProvider value)

		return addJaccProvider(value, true);
	
public intaddJaccProvider(JaccProvider value, boolean overwrite)

		JaccProvider old = getJaccProviderByName(value.getName());
		if(old != null) {
			throw new ConfigException(StringManager.getManager(SecurityService.class).getString("cannotAddDuplicate",  "JaccProvider"));
		}
		return this.addValue(JACC_PROVIDER, value, overwrite);
	
public intaddMessageSecurityConfig(MessageSecurityConfig value)

		return addMessageSecurityConfig(value, true);
	
public intaddMessageSecurityConfig(MessageSecurityConfig value, boolean overwrite)

		MessageSecurityConfig old = getMessageSecurityConfigByAuthLayer(value.getAuthLayer());
		if(old != null) {
			throw new ConfigException(StringManager.getManager(SecurityService.class).getString("cannotAddDuplicate",  "MessageSecurityConfig"));
		}
		return this.addValue(MESSAGE_SECURITY_CONFIG, value, overwrite);
	
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("AuthRealm["+this.sizeAuthRealm()+"]");	// NOI18N
		for(int i=0; i<this.sizeAuthRealm(); i++)
		{
			str.append(indent+"\t");
			str.append("#"+i+":");
			n = (org.netbeans.modules.schema2beans.BaseBean) this.getAuthRealm(i);
			if (n != null)
				n.dump(str, indent + "\t");	// NOI18N
			else
				str.append(indent+"\tnull");	// NOI18N
			this.dumpAttributes(AUTH_REALM, i, str, indent);
		}

		str.append(indent);
		str.append("JaccProvider["+this.sizeJaccProvider()+"]");	// NOI18N
		for(int i=0; i<this.sizeJaccProvider(); i++)
		{
			str.append(indent+"\t");
			str.append("#"+i+":");
			n = (org.netbeans.modules.schema2beans.BaseBean) this.getJaccProvider(i);
			if (n != null)
				n.dump(str, indent + "\t");	// NOI18N
			else
				str.append(indent+"\tnull");	// NOI18N
			this.dumpAttributes(JACC_PROVIDER, i, str, indent);
		}

		str.append(indent);
		str.append("AuditModule["+this.sizeAuditModule()+"]");	// NOI18N
		for(int i=0; i<this.sizeAuditModule(); i++)
		{
			str.append(indent+"\t");
			str.append("#"+i+":");
			n = (org.netbeans.modules.schema2beans.BaseBean) this.getAuditModule(i);
			if (n != null)
				n.dump(str, indent + "\t");	// NOI18N
			else
				str.append(indent+"\tnull");	// NOI18N
			this.dumpAttributes(AUDIT_MODULE, i, str, indent);
		}

		str.append(indent);
		str.append("MessageSecurityConfig["+this.sizeMessageSecurityConfig()+"]");	// NOI18N
		for(int i=0; i<this.sizeMessageSecurityConfig(); i++)
		{
			str.append(indent+"\t");
			str.append("#"+i+":");
			n = (org.netbeans.modules.schema2beans.BaseBean) this.getMessageSecurityConfig(i);
			if (n != null)
				n.dump(str, indent + "\t");	// NOI18N
			else
				str.append(indent+"\tnull");	// NOI18N
			this.dumpAttributes(MESSAGE_SECURITY_CONFIG, i, str, indent);
		}

		str.append(indent);
		str.append("ElementProperty["+this.sizeElementProperty()+"]");	// NOI18N
		for(int i=0; i<this.sizeElementProperty(); i++)
		{
			str.append(indent+"\t");
			str.append("#"+i+":");
			n = (org.netbeans.modules.schema2beans.BaseBean) this.getElementProperty(i);
			if (n != null)
				n.dump(str, indent + "\t");	// NOI18N
			else
				str.append(indent+"\tnull");	// NOI18N
			this.dumpAttributes(ELEMENT_PROPERTY, i, str, indent);
		}

	
public java.lang.StringdumpBeanNode()

		StringBuffer str = new StringBuffer();
		str.append("SecurityService\n");	// NOI18N
		this.dump(str, "\n  ");	// NOI18N
		return str.toString();
	
public java.lang.StringgetAnonymousRole()
Getter for AnonymousRole of the Element security-service

return
the AnonymousRole of the Element security-service

		return getAttributeValue(ServerTags.ANONYMOUS_ROLE);
	
public AuditModulegetAuditModule(int index)

		return (AuditModule)this.getValue(AUDIT_MODULE, index);
	
public AuditModule[]getAuditModule()

		return (AuditModule[])this.getValues(AUDIT_MODULE);
	
public AuditModulegetAuditModuleByName(java.lang.String id)

	 if (null != id) { id = id.trim(); }
	AuditModule[] o = getAuditModule();
	 if (o == null) return null;

	 for (int i=0; i < o.length; i++) {
	     if(o[i].getAttributeValue(Common.convertName(ServerTags.NAME)).equals(id)) {
	         return o[i];
	     }
	 }

		return null;
		
	
public java.lang.StringgetAuditModules()
Getter for AuditModules of the Element security-service

return
the AuditModules of the Element security-service

		return getAttributeValue(ServerTags.AUDIT_MODULES);
	
public AuthRealmgetAuthRealm(int index)

		return (AuthRealm)this.getValue(AUTH_REALM, index);
	
public AuthRealm[]getAuthRealm()

		return (AuthRealm[])this.getValues(AUTH_REALM);
	
public AuthRealmgetAuthRealmByName(java.lang.String id)

	 if (null != id) { id = id.trim(); }
	AuthRealm[] o = getAuthRealm();
	 if (o == null) return null;

	 for (int i=0; i < o.length; i++) {
	     if(o[i].getAttributeValue(Common.convertName(ServerTags.NAME)).equals(id)) {
	         return o[i];
	     }
	 }

		return null;
		
	
public static java.lang.StringgetDefaultActivateDefaultPrincipalToRoleMapping()
Get the default value of ActivateDefaultPrincipalToRoleMapping from dtd

		return "false".trim();
	
public static java.lang.StringgetDefaultAnonymousRole()
Get the default value of AnonymousRole from dtd

		return "AttributeDeprecated".trim();
	
public static java.lang.StringgetDefaultAttributeValue(java.lang.String attr)

		if(attr == null) return null;
		attr = attr.trim();
		if(attr.equals(ServerTags.DEFAULT_REALM)) return "file".trim();
		if(attr.equals(ServerTags.ANONYMOUS_ROLE)) return "AttributeDeprecated".trim();
		if(attr.equals(ServerTags.AUDIT_ENABLED)) return "false".trim();
		if(attr.equals(ServerTags.JACC)) return "default".trim();
		if(attr.equals(ServerTags.AUDIT_MODULES)) return "default".trim();
		if(attr.equals(ServerTags.ACTIVATE_DEFAULT_PRINCIPAL_TO_ROLE_MAPPING)) return "false".trim();
	return null;
	
public static java.lang.StringgetDefaultAuditEnabled()
Get the default value of AuditEnabled from dtd

		return "false".trim();
	
public static java.lang.StringgetDefaultAuditModules()
Get the default value of AuditModules from dtd

		return "default".trim();
	
public static java.lang.StringgetDefaultDefaultRealm()
Get the default value of DefaultRealm from dtd

		return "file".trim();
	
public static java.lang.StringgetDefaultJacc()
Get the default value of Jacc from dtd

		return "default".trim();
	
public java.lang.StringgetDefaultPrincipal()
Getter for DefaultPrincipal of the Element security-service

return
the DefaultPrincipal of the Element security-service

			return getAttributeValue(ServerTags.DEFAULT_PRINCIPAL);
	
public java.lang.StringgetDefaultPrincipalPassword()
Getter for DefaultPrincipalPassword of the Element security-service

return
the DefaultPrincipalPassword of the Element security-service

			return getAttributeValue(ServerTags.DEFAULT_PRINCIPAL_PASSWORD);
	
public java.lang.StringgetDefaultRealm()
Getter for DefaultRealm of the Element security-service

return
the DefaultRealm of the Element security-service

		return getAttributeValue(ServerTags.DEFAULT_REALM);
	
public ElementPropertygetElementProperty(int index)

		return (ElementProperty)this.getValue(ELEMENT_PROPERTY, index);
	
public ElementProperty[]getElementProperty()

		return (ElementProperty[])this.getValues(ELEMENT_PROPERTY);
	
public ElementPropertygetElementPropertyByName(java.lang.String id)

	 if (null != id) { id = id.trim(); }
	ElementProperty[] o = getElementProperty();
	 if (o == null) return null;

	 for (int i=0; i < o.length; i++) {
	     if(o[i].getAttributeValue(Common.convertName(ServerTags.NAME)).equals(id)) {
	         return o[i];
	     }
	 }

		return null;
		
	
public java.lang.StringgetJacc()
Getter for Jacc of the Element security-service

return
the Jacc of the Element security-service

		return getAttributeValue(ServerTags.JACC);
	
public JaccProvidergetJaccProvider(int index)

		return (JaccProvider)this.getValue(JACC_PROVIDER, index);
	
public JaccProvider[]getJaccProvider()

		return (JaccProvider[])this.getValues(JACC_PROVIDER);
	
public JaccProvidergetJaccProviderByName(java.lang.String id)

	 if (null != id) { id = id.trim(); }
	JaccProvider[] o = getJaccProvider();
	 if (o == null) return null;

	 for (int i=0; i < o.length; i++) {
	     if(o[i].getAttributeValue(Common.convertName(ServerTags.NAME)).equals(id)) {
	         return o[i];
	     }
	 }

		return null;
		
	
public java.lang.StringgetMappedPrincipalClass()
Getter for MappedPrincipalClass of the Element security-service

return
the MappedPrincipalClass of the Element security-service

			return getAttributeValue(ServerTags.MAPPED_PRINCIPAL_CLASS);
	
public MessageSecurityConfiggetMessageSecurityConfig(int index)

		return (MessageSecurityConfig)this.getValue(MESSAGE_SECURITY_CONFIG, index);
	
public MessageSecurityConfig[]getMessageSecurityConfig()

		return (MessageSecurityConfig[])this.getValues(MESSAGE_SECURITY_CONFIG);
	
public MessageSecurityConfiggetMessageSecurityConfigByAuthLayer(java.lang.String id)

	 if (null != id) { id = id.trim(); }
	MessageSecurityConfig[] o = getMessageSecurityConfig();
	 if (o == null) return null;

	 for (int i=0; i < o.length; i++) {
	     if(o[i].getAttributeValue(Common.convertName(ServerTags.AUTH_LAYER)).equals(id)) {
	         return o[i];
	     }
	 }

		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-service";
	    return (null != ret ? ret.trim() : null);
	
voidinitialize(int options)


	
public booleanisActivateDefaultPrincipalToRoleMapping()
Getter for ActivateDefaultPrincipalToRoleMapping of the Element security-service

return
the ActivateDefaultPrincipalToRoleMapping of the Element security-service

		return toBoolean(getAttributeValue(ServerTags.ACTIVATE_DEFAULT_PRINCIPAL_TO_ROLE_MAPPING));
	
public booleanisAuditEnabled()
Getter for AuditEnabled of the Element security-service

return
the AuditEnabled of the Element security-service

		return toBoolean(getAttributeValue(ServerTags.AUDIT_ENABLED));
	
public AuditModulenewAuditModule()
Create a new bean using it's default constructor. This does not add it to any bean graph.

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

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

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

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

		return new MessageSecurityConfig();
	
public intremoveAuditModule(AuditModule value)

		return this.removeValue(AUDIT_MODULE, value);
	
public intremoveAuditModule(AuditModule value, boolean overwrite)

		return this.removeValue(AUDIT_MODULE, value, overwrite);
	
public intremoveAuthRealm(AuthRealm value)

		return this.removeValue(AUTH_REALM, value);
	
public intremoveAuthRealm(AuthRealm value, boolean overwrite)

		return this.removeValue(AUTH_REALM, value, overwrite);
	
public static voidremoveComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.remove(c);
	
public intremoveElementProperty(ElementProperty value)

		return this.removeValue(ELEMENT_PROPERTY, value);
	
public intremoveElementProperty(ElementProperty value, boolean overwrite)

		return this.removeValue(ELEMENT_PROPERTY, value, overwrite);
	
public intremoveJaccProvider(JaccProvider value)

		return this.removeValue(JACC_PROVIDER, value);
	
public intremoveJaccProvider(JaccProvider value, boolean overwrite)

		return this.removeValue(JACC_PROVIDER, value, overwrite);
	
public intremoveMessageSecurityConfig(MessageSecurityConfig value)

		return this.removeValue(MESSAGE_SECURITY_CONFIG, value);
	
public intremoveMessageSecurityConfig(MessageSecurityConfig value, boolean overwrite)

		return this.removeValue(MESSAGE_SECURITY_CONFIG, value, overwrite);
	
public voidsetActivateDefaultPrincipalToRoleMapping(boolean v, boolean overwrite)
Modify the ActivateDefaultPrincipalToRoleMapping of the Element security-service

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ServerTags.ACTIVATE_DEFAULT_PRINCIPAL_TO_ROLE_MAPPING, ""+(v==true), overwrite);
	
public voidsetActivateDefaultPrincipalToRoleMapping(boolean v)
Modify the ActivateDefaultPrincipalToRoleMapping of the Element security-service

param
v the new value

		setAttributeValue(ServerTags.ACTIVATE_DEFAULT_PRINCIPAL_TO_ROLE_MAPPING, ""+(v==true));
	
public voidsetAnonymousRole(java.lang.String v, boolean overwrite)
Modify the AnonymousRole of the Element security-service

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ServerTags.ANONYMOUS_ROLE, v, overwrite);
	
public voidsetAnonymousRole(java.lang.String v)
Modify the AnonymousRole of the Element security-service

param
v the new value

		setAttributeValue(ServerTags.ANONYMOUS_ROLE, v);
	
public voidsetAuditEnabled(boolean v, boolean overwrite)
Modify the AuditEnabled of the Element security-service

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ServerTags.AUDIT_ENABLED, ""+(v==true), overwrite);
	
public voidsetAuditEnabled(boolean v)
Modify the AuditEnabled of the Element security-service

param
v the new value

		setAttributeValue(ServerTags.AUDIT_ENABLED, ""+(v==true));
	
public voidsetAuditModule(AuditModule[] value)

		this.setValue(AUDIT_MODULE, value);
	
public voidsetAuditModules(java.lang.String v, boolean overwrite)
Modify the AuditModules of the Element security-service

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ServerTags.AUDIT_MODULES, v, overwrite);
	
public voidsetAuditModules(java.lang.String v)
Modify the AuditModules of the Element security-service

param
v the new value

		setAttributeValue(ServerTags.AUDIT_MODULES, v);
	
public voidsetAuthRealm(AuthRealm[] value)

		this.setValue(AUTH_REALM, value);
	
public voidsetDefaultPrincipal(java.lang.String v, boolean overwrite)
Modify the DefaultPrincipal of the Element security-service

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ServerTags.DEFAULT_PRINCIPAL, v, overwrite);
	
public voidsetDefaultPrincipal(java.lang.String v)
Modify the DefaultPrincipal of the Element security-service

param
v the new value

		setAttributeValue(ServerTags.DEFAULT_PRINCIPAL, v);
	
public voidsetDefaultPrincipalPassword(java.lang.String v, boolean overwrite)
Modify the DefaultPrincipalPassword of the Element security-service

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ServerTags.DEFAULT_PRINCIPAL_PASSWORD, v, overwrite);
	
public voidsetDefaultPrincipalPassword(java.lang.String v)
Modify the DefaultPrincipalPassword of the Element security-service

param
v the new value

		setAttributeValue(ServerTags.DEFAULT_PRINCIPAL_PASSWORD, v);
	
public voidsetDefaultRealm(java.lang.String v, boolean overwrite)
Modify the DefaultRealm of the Element security-service

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ServerTags.DEFAULT_REALM, v, overwrite);
	
public voidsetDefaultRealm(java.lang.String v)
Modify the DefaultRealm of the Element security-service

param
v the new value

		setAttributeValue(ServerTags.DEFAULT_REALM, v);
	
public voidsetElementProperty(ElementProperty[] value)

		this.setValue(ELEMENT_PROPERTY, value);
	
public voidsetJacc(java.lang.String v, boolean overwrite)
Modify the Jacc of the Element security-service

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ServerTags.JACC, v, overwrite);
	
public voidsetJacc(java.lang.String v)
Modify the Jacc of the Element security-service

param
v the new value

		setAttributeValue(ServerTags.JACC, v);
	
public voidsetJaccProvider(JaccProvider[] value)

		this.setValue(JACC_PROVIDER, value);
	
public voidsetMappedPrincipalClass(java.lang.String v, boolean overwrite)
Modify the MappedPrincipalClass of the Element security-service

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ServerTags.MAPPED_PRINCIPAL_CLASS, v, overwrite);
	
public voidsetMappedPrincipalClass(java.lang.String v)
Modify the MappedPrincipalClass of the Element security-service

param
v the new value

		setAttributeValue(ServerTags.MAPPED_PRINCIPAL_CLASS, v);
	
public voidsetMessageSecurityConfig(MessageSecurityConfig[] value)

		this.setValue(MESSAGE_SECURITY_CONFIG, value);
	
public intsizeAuditModule()

		return this.size(AUDIT_MODULE);
	
public intsizeAuthRealm()

		return this.size(AUTH_REALM);
	
public intsizeElementProperty()

		return this.size(ELEMENT_PROPERTY);
	
public intsizeJaccProvider()

		return this.size(JACC_PROVIDER);
	
public intsizeMessageSecurityConfig()

		return this.size(MESSAGE_SECURITY_CONFIG);
	
public voidvalidate()