* @param out An output stream to write to. It will be closed by the this method.
* @throws java.io.IOException When there is a problem creating the stream, or
* the other end of the stream fails.
*/
private void write(OutputStream out) throws IOException {
XStream xstream = new XStream(new DomDriver());
xstream.registerConverter(ROLEMAPCONVERTER);
xstream.registerConverter(ROLECONVERTER);
xstream.registerConverter(DICTCONVERTER);
xstream.aliasType("roles", Map.class);
xstream.toXML(m_roles, out);