Hi Jang, Can you please try to use 3.0.67 instead of the 2.0.74-SNAPSHOT for carbon.device.mgt.version.
Thanks Geeth On Wed, Aug 16, 2017 at 7:04 PM, 姜仁杰 <jiangclus...@gmail.com> wrote: > hi all: > > > I have tested it because the API 2.1.0 version and the version of > carbon.device.mgt.version incompatible with the problem I said, when the > introduction of V2.X series carbon.device.mgt.version will get the error > > jiang > > 2017-08-16 20:34 GMT+08:00 姜仁杰 <jiangclus...@gmail.com>: > >> hi Perera: >> >> *As you said, I'm trying to connect an external APIM (2.1.0) with IOT >> Server (3.1.0)* >> *I follow the requirements of the document inside the configuration >> (https://docs.wso2.com/display/IoTS310/Configuring+WSO2+IoT+Server+with+WSO2+API+Manager >> <https://docs.wso2.com/display/IoTS310/Configuring+WSO2+IoT+Server+with+WSO2+API+Manager>), >> and s with WUM APIM was updated* >> >> *I have tried to add in the authenticators.xml file* >> *<Authenticator name = "SignedJWTAuthenticator" disabled = "false"> >> <Priority> 5 </ Priority>* >> *</ Authenticator>* >> *Configuration items, but still get that error.* >> >> *I read the source code in the carbon-kernel / core / >> org.wso2.carbon.core / src / main / java / org / wso2 / carbon / core / >> security / AuthenticatorsConfiguration.java file, seemingly about the >> authenticators.xml file Authenticator name can only be "OAuthAuthenticator"* >> >> *So I try to add in authenticators.xml* >> *<Authenticator name = "OAuthAuthenticator" disabled = "false">* >> *<Priority> 5 </ Priority>* >> *</ Authenticator>* >> *It can work* >> >> *But I have seen WSO2-IOTS3.1.0 authenticators.xml file configuration, >> the configuration is indeed* >> *<Authenticator name = "SignedJWTAuthenticator" disabled = "false"> >> <Priority> 5 </ Priority>* >> *</ Authenticator>* >> *But for wso2-iots3.1.0 can work properly* >> >> *Above to make me very confused, please also give me some advice* >> >> Best Regards, >> >> jiang >> >> >> 2017-08-16 20:03 GMT+08:00 Rasika Perera <rasi...@wso2.com>: >> >>> Hi Jiang, >>> >>> i configured WSO2 IoT Server with WSO2 Identity Server according to >>>> https://docs.wso2.com/display/IoTS310/Configuring+WSO2+IoT+S >>>> erver+with+WSO2+API+Manager. But I get the following error >>> >>> We are bit confused on what you are trying to achieve. Are you trying to >>> connect an external WSO2 API Manager to the IoT Server? Which version of >>> APIM? >>> >>> It seems configurations are missing for the OAuthAuthenticator. Please >>> make sure you have following lines in your *authenticators.xml* in >>> <PRODUCT_HOME>/repository/conf/security/authenticators.xml >>> >>> <!-- authenticator Configurations for OAuthAuthenticator --> >>> <Authenticator name="SignedJWTAuthenticator" disabled="false"> >>> <Priority>5</Priority> </Authenticator> >>> >>> >>> Best Regards, >>> ~Rasika >>> >>> On Wed, Aug 16, 2017 at 1:10 PM, 姜仁杰 <jiangclus...@gmail.com> wrote: >>> >>>> hi: >>>> >>>> For APIM IoT - APIM - APIM 2.1.0 Features pom file There is another bug: >>>> carbon.device.mgt.version.2.0.74 - SNAPSHOT can not be found in the maven >>>> nexus repository, I manually changed it to carbon >>>> .device.mgt.version.2.0.74 >>>> >>>> >>>> >>>> >>>> 2017-08-16 15:33 GMT+08:00 姜仁杰 <jiangclus...@gmail.com>: >>>> >>>>> hi Geeth: >>>>> >>>>> i am tried in the <APIM_HOME>/repository/conf/api-manager.xml file Enable >>>>> the ClaimsRetrieverImplClass, ConsumerDialectURI and Signatu >>>>> reAlgorithm. Set SignatureAlgorithm to NONE. but it is not worked。 >>>>> >>>>> >>>>> 2017-08-16 15:13 GMT+08:00 Geeth Munasinghe <ge...@wso2.com>: >>>>> >>>>>> Can you please attach your api-manager.xml file ? >>>>>> >>>>>> On Wed, Aug 16, 2017 at 12:02 PM, 姜仁杰 <jiangclus...@gmail.com> wrote: >>>>>> >>>>>>> hi all: >>>>>>> >>>>>>> i configured WSO2 IoT Server with WSO2 Identity Server >>>>>>> according >>>>>>> to https://docs.wso2.com/display/IoTS310/Configuring+WSO2+IoT+S >>>>>>> erver+with+WSO2+API+Manager. But I get the following error >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Can you tell me what the cause is >>>>>>> >>>>>>> >>>>>>> Thank you. >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> jiangrenjie china chongqing >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Dev mailing list >>>>>>> Dev@wso2.org >>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> *Geeth Munasinghe* >>>>>> *WSO2, Inc. http://wso2.com <http://wso2.com/> * >>>>>> *lean.enterprise.middleware.* >>>>>> >>>>>> email: ge...@wso2.com >>>>>> phone:(+94) 777911226 <+94%2077%20791%201226> >>>>>> >>>>>> <http://wso2.com/signature> >>>>>> >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> Dev@wso2.org >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> With Regards, >>> >>> *Rasika Perera* >>> Senior Software Engineer >>> LinkedIn: http://lk.linkedin.com/in/rasika90 >>> >>> <http://wso2.com/signature> >>> >>> WSO2 Inc. www.wso2.com >>> lean.enterprise.middleware >>> >> >> > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Geeth Munasinghe* *WSO2, Inc. http://wso2.com <http://wso2.com/> * *lean.enterprise.middleware.* email: ge...@wso2.com phone:(+94) 777911226 <http://wso2.com/signature>
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev