Changes between Version 10 and Version 11 of Malted/PluginDevelopmentNotes


Ignore:
Timestamp:
13.01.2014 14:12:07 (7 years ago)
Author:
Malte
Comment:

Minor corrections

Legend:

Unmodified
Added
Removed
Modified
  • Malted/PluginDevelopmentNotes

    v10 v11  
    5252=== Working on server-side with dms (ApplicationService === 
    5353 
    54 As a rule of thumb: Whenever you pass the ''ClientState''-Object into a dms.*-call, the Workspace-Assignment will be set automatically by DeepaMehta. This happens because the information which "User" is currrently active in which "Workspace" is part of the Session-Cookie. 
     54As a rule of thumb: Whenever you pass the ''ClientState''-Object into a dms.*-call, the Workspace-Assignment will be set automatically by DeepaMehta. This happens because the information which "User" is currrently active in which "Workspace" is part of the Session-Cookie. Vice-versa: If you pass ClientState a ''null'' into a createTopic call your topic will most probably have no "Workspace" assigned at all and you should do so manually. 
    5555 
    56 If ACL-Settings are set correctly depends on the availability of a "HttpSession", resp. if the ACL-Module knows who's the currently logged in user. The latter is never the case if your server-side methods are do not have a "HttpRequest"-Scope (e.g. in a Thread or when just embedding the DeepaMehtaService in your Java-Application. In that case, you' will have to take care of setting ACLEntries and a Workspace-Assignments for all the topics/assocs you create manually. 
     56If ACL-Settings are set correctly depends on the availability of a "HttpSession", resp. if the ACL-Module knows who's the currently logged in user. The latter is never the case if your server-side methods are do not have a "HttpRequest"-Scope (e.g. in a Thread or when just embedding the DeepaMehtaService in your Java-Application). In that case, you' will have to take care of setting ACLEntries and a Workspace-Assignments for all the topics/assocs you create manually. 
    5757 
    5858Example given: