{
XmlParser.Node method=node.get("auth-method");
FormAuthenticator _formAuthenticator=null;
if(method!=null)
{
Authenticator authenticator=null;
String m=method.toString(false,true);
if(SecurityConstraint.__FORM_AUTH.equals(m))
authenticator=_formAuthenticator=new FormAuthenticator();
else if(SecurityConstraint.__BASIC_AUTH.equals(m))
authenticator=new BasicAuthenticator();