@Override
public Role getRole( String roleName )
throws RbacObjectNotFoundException, RbacManagerException
{
Role el = rolesCache.get( roleName );
if ( el != null )
{
return el;
}
Exception lastException = null;
for ( RBACManager rbacManager : rbacManagersPerId.values() )
{
try
{
Role role = rbacManager.getRole( roleName );
if ( role != null )
{
rolesCache.put( role.getName(), role );
return role;
}
}
catch ( Exception e )
{