Until this week, Benjamin Lawsky was a little-known banking regulator in New York. His aggressive pursuit of a $340 million settlement over a British bank's financial ties to Iran has put him in the spotlight, stunning the financial world but also rubbing federal regulators the wrong way.