Commit cbf3ea45 authored by Guillaume Surrel's avatar Guillaume Surrel
Browse files

Remove useless rights (which can be problematic when using a distribution queue).

parent c692740b
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2006 - 2010 ScalAgent Distributed Technologies
* Copyright (C) 2006 - 2011 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
......@@ -54,12 +54,10 @@ public class MailAdmin {
User.create("anonymous", "anonymous", 0);
queue.setFreeReading();
queue.setFreeWriting();
topic.setFreeReading();
topic.setFreeWriting();
queue.setFreeReading();
javax.naming.Context jndiCtx = new javax.naming.InitialContext();
jndiCtx.bind("cf", cf);
jndiCtx.bind("receiveMailQueue", queue);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment