Examples of AccessControlFactory


Examples of org.apache.qpid.server.plugin.AccessControlFactory

    public Object perform(Map<String, Object> request, Broker broker)
    {
        Map<String, Object> attributes = new TreeMap<String, Object>();
        for (String providerType : _factories.keySet())
        {
            AccessControlFactory factory = _factories.get(providerType);

            Map<String, Object> data = new HashMap<String, Object>();
            data.put(ATTRIBUTES, factory.getAttributeNames());
            Map<String, String> resources = factory.getAttributeDescriptions();
            if (resources != null)
            {
                data.put(DESCRIPTIONS, resources);
            }

            attributes.put(factory.getType(), data);
        }
        return attributes;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.