Changes between Version 13 and Version 14 of S2S_FACADE_SECURITY_R0


Ignore:
Timestamp:
12/28/08 21:54:31 (16 years ago)
Author:
meddle
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S2S_FACADE_SECURITY_R0

    v13 v14  
    4646[[Image(source:/trunk/sophie2-platform/modules/org.sophie2.server/doc/S2S_FACADE_SECURITY_R0.jpg)]] [[BR]] 
    4747  * The Facade interface provides all the facade logics (for security, books, commenting, etc..). At that revision it is modeled to provide only the security logic represented by the !UserManager and the !GroupManager interfaces. 
    48   * The implementations of the facade interfaces are in the org.sophie2.server.facade.impl package. 
    49     * The !UserManager implementation - the !ServerUserManager works with !ServerSession and provides access to logged user with the help of a string - session id. 
    50     * The !ServerSession class represents the Sophie 2 Server session and keeps the relations sessionId -> logged in user. Also it takes care of the session timeouts. 
    51  * Second the mock server must be refactored to use the new facade model. For now only it's three methods for login, retrieving groups and checking existence of a user are necessary to be implemented (see [wiki:S2S_CORE_MOCK_SERVER_R0]). Also the test cases must be refactored. The new mock facade is shown in the class diagram. 
    52  * The third step is to refactor the web services layer. For now there is only one web service - the user web service (see [wiki:S2S_WEB_SERVICES_R0]). It must use the !ServerSession and it's session IDs for managing the users. 
    53  * The fourth step is to refactor the current web to use the facade instead the core logic. 
     48  * The server side's implementations of the facade interfaces are in the org.sophie2.server.facade.impl package. 
     49    * The !UserManager implementation - the !ServerUserManager uses the !ServerSession and provides access to logged user with the help of a string - session id. 
     50    * The !ServerSession class represents the Sophie 2 Server session and keeps the relations sessionId -> logged-in user. Also it takes care of the session timeouts. 
     51 * Second the mock server must be refactored to use the new facade model. For now only its three methods for login, retrieving groups and checking existence of a user are necessary to be implemented (see [wiki:S2S_CORE_MOCK_SERVER_R0]). Also the test cases must be refactored. The new mock facade is shown in the class diagram. 
     52 * The third step is to refactor the web services layer. For now there is only one web service - the !UserWebService (see [wiki:S2S_WEB_SERVICES_R0]). It must use the !ServerSession and it's session IDs for managing the users. 
     53 * The fourth step is to refactor the security part of the current web to use the facade instead the core logic. 
    5454 * The last step is to rename all the getInstance() methods of the singletons to get() in the three server modules. 
    5555