UsersObjectModelFactory uomf = new UsersObjectModelFactory();
URL xmlFileURL = tcl.getResource(xmlFile);
assertNotNull("XML File URL is not null", xmlFileURL);
InputStreamReader xmlReader = loadURL(xmlFileURL);
Unmarshaller unmarshaller = UnmarshallerFactory.newInstance().newUnmarshaller();
unmarshaller.mapFactoryToNamespace(uomf, "http://www.jboss.org/j2ee/schemas/XMLLoginModule");
unmarshaller.setSchemaValidation(true);
unmarshaller.setNamespaceAware(true);
unmarshaller.setFeature(Unmarshaller.SCHEMA_VALIDATION, Boolean.TRUE);
Object root = null;
config = (PolicyConfig) unmarshaller.unmarshal(xmlReader, lcomf, root);