@Override
public Resource getResource( String resourceIdentifier )
throws RbacObjectNotFoundException, RbacManagerException
{
Resource el = resourcesCache.get( resourceIdentifier );
if ( el != null )
{
return el;
}
Exception lastException = null;
for ( RBACManager rbacManager : rbacManagersPerId.values() )
{
try
{
Resource r = rbacManager.getResource( resourceIdentifier );
if ( r != null )
{
resourcesCache.put( resourceIdentifier, r );
return r;
}