[
https://issues.apache.org/jira/browse/CONNECTORS-518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450495#comment-13450495
]
Maciej Lizewski commented on CONNECTORS-518:
--------------------------------------------
unfortunatelly it is NetBeans. I know that it makes things harder, but when I
realised it happens it was too late to roll back because I would loose all my
changes or have to put it line-by-line again... I have tried to format
according to your hints but the previous WikiConnector.java does not follow
them neither so it is impossible to diff those files anyway. Maybe if you could
reformat both: previous version withous any changes and compare it to
reformatted my class you would have clear diff...
as for cookies and session - every HttpClient has its own container (I am sure,
because when there was separate HttpClient for every request session and
cookies were not maintained at all).
there is of course unresolved problem with session expiration, but when it
expires 'processDocuments' should throw an error because returned xml will not
match expected result. Then reconnection should take place and session will be
recreated (but I haven't tested it yet).
Unfortunately our priority now is to achieve running system in our environment
ASAP so we make quick changes that adopt connectors to our needs. If the
community can use those changes - it is ok, but we can polish those modules
only after everything will work for us.
> Support for API authorization and security tokens
> -------------------------------------------------
>
> Key: CONNECTORS-518
> URL: https://issues.apache.org/jira/browse/CONNECTORS-518
> Project: ManifoldCF
> Issue Type: Bug
> Components: Wiki connector
> Affects Versions: ManifoldCF 0.6
> Reporter: Maciej Lizewski
> Assignee: Karl Wright
> Fix For: ManifoldCF next
>
> Attachments: WikiConnector.java, wiki.zip
>
>
> Wiki connector does not support API with restricted access (there is "login"
> method in API: https://www.mediawiki.org/wiki/API:Login)
> There is no "security" tab for forced authorization tokens or any other
> security implemented. There should be at least forced tokens tab or tokens
> assigned to wiki namespaces (second would be better)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira