You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Cornelis Hoeflake (JIRA)" <ji...@apache.org> on 2011/05/11 13:10:47 UTC

[jira] [Created] (CMIS-370) Not possible to set own AbstractAuthenticationProvider

Not possible to set own AbstractAuthenticationProvider
------------------------------------------------------

                 Key: CMIS-370
                 URL: https://issues.apache.org/jira/browse/CMIS-370
             Project: Chemistry
          Issue Type: Bug
          Components: dotcmis
    Affects Versions: DotCMIS 0.2
            Reporter: Cornelis Hoeflake


It is only possible to set the FQN of an implementation of AbstractAuthenticationProvider. That type is looked up via Type.GetType(string). But that looks only in the Executing assembly, which is the dotCMIS library.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CMIS-370) Not possible to set own AbstractAuthenticationProvider

Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Müller resolved CMIS-370.
---------------------------------

    Resolution: Won't Fix

The workaround described by Cornelis seems to be sufficient. 

> Not possible to set own AbstractAuthenticationProvider
> ------------------------------------------------------
>
>                 Key: CMIS-370
>                 URL: https://issues.apache.org/jira/browse/CMIS-370
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: dotcmis
>    Affects Versions: DotCMIS 0.2
>            Reporter: Cornelis Hoeflake
>            Assignee: Florian Müller
>
> It is only possible to set the FQN of an implementation of AbstractAuthenticationProvider. That type is looked up via Type.GetType(string). But that looks only in the Executing assembly, which is the dotCMIS library.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CMIS-370) Not possible to set own AbstractAuthenticationProvider

Posted by "Cornelis Hoeflake (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031725#comment-13031725 ] 

Cornelis Hoeflake commented on CMIS-370:
----------------------------------------

Ok, it is also possible to use an AssemblyQualifiedName for the authenticationprovider. In that case, no change is required on the DotCMIS lib.

For example:
parameters[SessionParameter.AuthenticationProviderClass] = typeof(MyAuthenticationProvider).AssemblyQualifiedName;

> Not possible to set own AbstractAuthenticationProvider
> ------------------------------------------------------
>
>                 Key: CMIS-370
>                 URL: https://issues.apache.org/jira/browse/CMIS-370
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: dotcmis
>    Affects Versions: DotCMIS 0.2
>            Reporter: Cornelis Hoeflake
>            Assignee: Florian Müller
>
> It is only possible to set the FQN of an implementation of AbstractAuthenticationProvider. That type is looked up via Type.GetType(string). But that looks only in the Executing assembly, which is the dotCMIS library.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (CMIS-370) Not possible to set own AbstractAuthenticationProvider

Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Müller reassigned CMIS-370:
-----------------------------------

    Assignee: Florian Müller

> Not possible to set own AbstractAuthenticationProvider
> ------------------------------------------------------
>
>                 Key: CMIS-370
>                 URL: https://issues.apache.org/jira/browse/CMIS-370
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: dotcmis
>    Affects Versions: DotCMIS 0.2
>            Reporter: Cornelis Hoeflake
>            Assignee: Florian Müller
>
> It is only possible to set the FQN of an implementation of AbstractAuthenticationProvider. That type is looked up via Type.GetType(string). But that looks only in the Executing assembly, which is the dotCMIS library.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CMIS-370) Not possible to set own AbstractAuthenticationProvider

Posted by "Cornelis Hoeflake (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cornelis Hoeflake updated CMIS-370:
-----------------------------------

    Issue Type: Improvement  (was: Bug)

> Not possible to set own AbstractAuthenticationProvider
> ------------------------------------------------------
>
>                 Key: CMIS-370
>                 URL: https://issues.apache.org/jira/browse/CMIS-370
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: dotcmis
>    Affects Versions: DotCMIS 0.2
>            Reporter: Cornelis Hoeflake
>
> It is only possible to set the FQN of an implementation of AbstractAuthenticationProvider. That type is looked up via Type.GetType(string). But that looks only in the Executing assembly, which is the dotCMIS library.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira