[
https://issues.apache.org/jira/browse/CMIS-653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florian Müller reassigned CMIS-653:
-----------------------------------
Assignee: Florian Müller
> Error in Function WebServicesAuthenticate of class
> StandardAuthenticationProvider
> ----------------------------------------------------------------------------------
>
> Key: CMIS-653
> URL: https://issues.apache.org/jira/browse/CMIS-653
> Project: Chemistry
> Issue Type: Bug
> Components: dotcmis
> Reporter: Antonia Baumann
> Assignee: Florian Müller
> Priority: Minor
>
> There seems to be an error in the binding-intf.cs (class:
> StandardAuthenticationProvider; method: protected virtual void
> WebServicesAuthenticate(object connection)), line 175:
> is:
> PolicyServicePortClient policyServicePortClient = connection as
> PolicyServicePortClient;
> if (policyServicePortClient != null)
> {
>
> AddWebServicesCredentials(multiFilingServicePortClient.Endpoint,
> multiFilingServicePortClient.ClientCredentials);
> return;
> }
> should most probably be:
> PolicyServicePortClient policyServicePortClient = connection as
> PolicyServicePortClient;
> if (policyServicePortClient != null)
> {
> AddWebServicesCredentials(policyServicePortClient.Endpoint,
> policyServicePortClient.ClientCredentials);
> return;
> }
> Otherwise the calling of IPolicyService.ApplyPolicy(string repositoryId,
> string policyId, string objectId, IExtensionsData extension) runs into:
> System.NullReferenceException: Object reference not set to an instance of an
> object.
--
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