public Object perform(Map<String, Object> request, Broker broker)
{
Map<String, Object> attributes = new TreeMap<String, Object>();
for (String providerType : _factories.keySet())
{
AuthenticationManagerFactory 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;
}