protected void addAuthConfigListener(String service,String name){
  Set<String> set=authConfigListenerMap.get(service);
  if (set == null) {
    set=new CopyOnWriteArraySet<>();
    set.add(name);
    authConfigListenerMap.put(service,set);
  }
 else {
    set.add(name);
  }
}

protected void addAuthConfigListener ( String service , String name ) { Set < String > set = authConfigListenerMap . get ( service ) ; if ( set == null ) { set = new CopyOnWriteArraySet < > ( ) ; set . add ( name ) ; authConfigListenerMap . put ( service , set ) ; } else { set . add ( name ) ; } }
register auth config listener for a auth modules or auth configuration service .
