@Test
public void testCreateJuddiUsersEncrypted() throws Exception
{
try {
Cryptor cryptor = (Cryptor) CryptorFactory.getCryptor();
JuddiUsers juddiUsers = new JuddiUsers();
juddiUsers.getUser().add(new User("anou_mana",cryptor.encrypt("password")));
juddiUsers.getUser().add(new User("bozo",cryptor.encrypt("clown")));
juddiUsers.getUser().add(new User("sviens",cryptor.encrypt("password")));
StringWriter writer = new StringWriter();
JAXBContext context = JAXBContext.newInstance(juddiUsers.getClass());
Marshaller marshaller = context.createMarshaller();
marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
marshaller.marshal(juddiUsers, writer);
logger.info("\n" + writer.toString());
} catch (Exception e) {