Implement SecurityRealmInterface.setRealm(Object)