Hi,there.
           I am studying and using guacamole now, I do not know if it
is suitable to ask quesions here,if it is not popular or disturbing
you ,just ignore this.
           I installed guacamole and deploy guacamole-client.war.I
using noauth extensions.
   I want to dynamically add config to noauth-config.xml,but I found
that if i don't clean the
cookie,the config can not be loaded,I then turned to the code in
guacamole-client,I found that a method  getUserMapping,
/**
     * Returns a UserMapping containing all authorization data given within
     * the XML file specified by the "basic-user-mapping" property in
     * guacamole.properties. If the XML file has been modified or has not yet
     * been read, this function may reread the file.
     *
     * @return
     *     A UserMapping containing all authorization data within the user
     *     mapping XML file, or null if the file cannot be found/parsed.
     */
    private UserMapping getUserMapping() {}
in my opinion,I think this is the method that make user and configs into a map.
so i just want to forcebily refresh the map for every request,the
method comments
says that " If the XML file has been modified or has not yet been read
this function may reread the file",what does the "may reread" means?
why it is not   "be certain to reread"?is there somebody knows this
issue? or what can i do to dynamically add configs into
noauth-cofig.xml?
       Thank you very much!!!! if this disturbing you,I apologize for this.

Reply via email to