- Timestamp:
- 2008-04-13 21:35:32 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor.Java/branches/2.4/src/site/apt/integration/connector.apt
r1914 r1917 74 74 Connector. 75 75 76 The basic idea of extending the Connector is to provide interfaces for special user depended issues,76 The basic idea of extending the Connector is to provide some interfaces for special user depended interactions, 77 77 which can be implemented by the developer of a webapp. All methods get the <<<HttpServletRequest>>>-object, 78 so the developer could identify the user with a session attribute for example and return a nuser78 so the developer could identify the user with a session attribute for example and return a user 79 79 specific value. We intentionally make no suggestions how to do this, so you have the free of choice to 80 80 implement whatever and however you like. … … 85 85 At the moment, the integration pack provides two interfaces to extend the connector: 86 86 87 [[1]] {{{ apidocs/net/fckeditor/requestcycle/UserPathBuilder.html}<<<net.fckeditor.requestcycle.UserPathBuilder>>>}}87 [[1]] {{{java-core/apidocs/net/fckeditor/requestcycle/UserPathBuilder.html}<<<net.fckeditor.requestcycle.UserPathBuilder>>>}} 88 88 89 89 In this interface there is only one method <<<getUserFilesPath(final HttpServletRequest request)>>>, 90 return value is a String. There you can implement a user dependent construction of the 'BaseDir' path,90 return value is a string. There you can implement a user dependent construction of the 'BaseDir' path, 91 91 the path for all resource files. 92 92 93 [[2]] {{{ apidocs/net/fckeditor/requestcycle/UserAction.html}<<<net.fckeditor.requestcycle.UserAction>>>}}93 [[2]] {{{java-core/apidocs/net/fckeditor/requestcycle/UserAction.html}<<<net.fckeditor.requestcycle.UserAction>>>}} 94 94 95 95 There are two methods to authorize users to do file based actions: … … 102 102 103 103 For those who wants to enable all users for browsing and uploading files, there is an implementation 104 of <<<UserAction>>> you can use: {{{ apidocs/net/fckeditor/requestcycle/impl/UserActionImp.html}UserActionImpl}}104 of <<<UserAction>>> you can use: {{{java-core/apidocs/net/fckeditor/requestcycle/impl/UserActionImp.html}UserActionImpl}}