[
https://issues.apache.org/jira/browse/CONNECTORS-518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13451931#comment-13451931
]
Karl Wright commented on CONNECTORS-518:
----------------------------------------
Per dev@ conversation with Maciej:
(1) The login process needs an extra connection, which is why the pool has more
than 1. It probably really only needs 2 though.
(2) The response on session timeout is a 200 code, plus this:
{code}
<?xml version="1.0"?>
<api><error info="You need read permission to use this module"
code="readapidenied"/></api>
{code}
We'd have to look for this on every API response, which should not be a
problem, and conditionally relogin if we see that.
> Wiki Connector support for API authorization and security tokens
> ----------------------------------------------------------------
>
> Key: CONNECTORS-518
> URL: https://issues.apache.org/jira/browse/CONNECTORS-518
> Project: ManifoldCF
> Issue Type: Improvement
> 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