Hi, Kasun. Thank you for your answer. But where can I find OSGI version ranges which you mentioned in previous post? I parsed (by shell script) all JAR files in WSO2 IS installation directory (994 files), find all "META-INF\DEPENDENCIES" files and there was no reference to "org.wso2.carbon.identity.application.authenticator.samlsso". Do I understand well that no other OSGI component depends on "org.wso2.carbon.identity.application.authenticator.samlsso"?
Sorry, but I am still confused (from other results which I found during parsing DEPENDENCIES files). For example, I found (in some DEPENDENCIES files) reference to "org.wso2.carbon.identity.sso.saml" (which is a component from a package "identity-inbound-auth-saml-5.3.0"). /opt/wso/repository/components/plugins/org.wso2.carbon.identity.query.saml_5.3.0.jar contains reference to: org.wso2.carbon.identity.sso.saml:bundle:5.3.0 /opt/wso/repository/components/plugins/org.wso2.carbon.identity.tools.saml.validator_5.1.2.jar contains reference to: org.wso2.carbon.identity.sso.saml:bundle:5.1.3 Isn't it inconsistence? How can saml.validator do its job correctly when there is (in installation package) no org.wso2.carbon.identity.sso.saml_5.1.3.jar, only org.wso2.carbon.identity.sso.saml_5.3.0.jar. Does it mean that it uses the latest version despite of specific version in its DEPENDENCIES file? The same for /opt/wso/repository/components/dropins/org.wso2.carbon.identity.application.authenticator.samlsso-5.1.5.jar which depends on "org.wso2.carbon.identity.application.authentication.framework:bundle:5.5.0", but there is no 5.5.0 jar for "application.authentication.framework", only version 5.7.5 (org.wso2.carbon.identity.application.authentication.framework_5.7.5.jar). Best regards, Roman From: Architecture [mailto:architecture-boun...@wso2.org] On Behalf Of KasunG Gajasinghe Sent: Tuesday, January 2, 2018 2:10 AM To: architecture@wso2.org Subject: Re: [Architecture] question to updates strategy Hi Roman, 5.1.5 and 5.1.7 are two patch releases of 5.1.x minor version. That means there shouldn't be any API changes nor incompatibility between the two. Hence, you can replace the said dropons jar with the newer version. OSGi accepts version ranges. Usually, it is set to one minor version to the next immediate one. For ex. [5.1.0, 5.2.0) - square bracket means inclusive [ - bracket means exclusive. There's no flag in WUM to do what you suggested. Have to check why the dropins jars are not in WUM. On Tue, Jan 2, 2018 at 2:21 AM Roman CHRENKO <roman_chre...@tempest.sk<mailto:roman_chre...@tempest.sk>> wrote: Hi. I have some questions to updates strategy for WSO2 IS. (I know that WSO2 IS 5.4.0 is released now, but I can better explain my question on version 5.3.0.) There was in basic installation package for WSO2 IS 5.3.0 (wso2is-5.3.0.zip), in folder "repository/components/dropins" SAML Federation plugin (org.wso2.carbon.identity.application.authenticator.samlsso) version 5.1.5. There was a bug in the class DefaultSAML2SSOManager. Method buildLogoutRequest() incorrectly set (always!) nameId.setFormat(NameIDType.UNSPECIFIED), which was interpreted by som trusted IDPs as wrong LogoutRequest. This bug was fixed in version 5.1.6: if some conditions are met, it sets: nameId.setFormat(NameIDType.ENTITY); In the time when version 5.1.7 was available in GIT, I tried to download updates for WSO2 IS by WUM. But updated zip-package contained only unpatched version 5.1.5. Command "wum list" shows basic and "updated" versions of WSO2 IS: c:\Program Files\WUM\bin>wum list Product Updated Filename wso2is-5.3.0 16 Oct 17 13:36 CEST wso2is-5.3.0.1497977325530.zip wso2is-5.3.0 - wso2is-5.3.0.zip Version 5.1.7 was released on Jun 27, 2017 (by https://github.com/wso2-extensions/identity-outbound-auth-samlsso/releases). - How to instruct WUM to include also latest patches for specific component (for example SAML Federation plugin : org.wso2.carbon.identity.application.authenticator.samlsso)? Or is it a bug in WUM that it doesn't download latest patches for dropins? - I know that I can download the source code of 5.1.6+ from GIT and build the plugin ("OSGI bundle") by Maven. But can I copy newly created JAR file into the dropins folder? Don't expect other OSGI components specific version 5.1.5? I am afraid that it can lead to inconsistent state of WSO2 IS. How to get to consistent state with version 5.1.6+? Best regards, Roman Chrenko _______________________________________________ Architecture mailing list Architecture@wso2.org<mailto:Architecture@wso2.org> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture -- Kasun Gajasinghe Associate Technical Lead, WSO2 Inc. email: kasung AT spamfree wso2.com<http://wso2.com> linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org phone: +1 650-745-4499, 77 678 0813
_______________________________________________ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture