public static synchronized void unregisterIdentityHandler(final IdentityHandler identityHandler){
  LinkedList<IdentityHandler> newList=duplicateIdentityHandlers();
  if (newList.remove(identityHandler))   identityHandlers=newList;
}

public static synchronized void unregisterIdentityHandler ( final IdentityHandler identityHandler ) { LinkedList < IdentityHandler > newList = duplicateIdentityHandlers ( ) ; if ( newList . remove ( identityHandler ) ) identityHandlers = newList ; }
this method unregisters an identityhandler .
