Skip to content

Version Differences for Upgrade

Yuriy Movchan edited this page Jun 12, 2018 · 6 revisions

3.1.1 to 3.1.3:

  1. Update OpenDJ/OpenLDAP schema files
  2. Add new configuration properties to oxAuth configuration in LDAP:
    • "umaResourceLifetime":2592000,
    • "authorizationRequestCustomAllowedParameters" : [ ],
    • "legacyDynamicRegistrationScopeParam": false,
    • "useCacheForAllImplicitFlowObjects":false,
    • "umaGrantAccessIfNoPolicies":true,
  3. Add new userCertificate atribute metadata.
  4. Fix some attributes type: string –> boolean/generalizedTime/binary (emailVerified, phoneNumberVerified, updatedAt, picture).
    • emailVerified: string -> boolean
    • phoneNumberVerified: string -> boolean
    • updatedAt: string -> generalizedTime
    • picture: string -> binary
  5. Add missing oxAuthClaimName: member_of to attribute with inum: %(inumOrg)s!0005!D2E0
  6. Change RDN in all records:
   inum=<id>,ou=sector_identifiers,o=<org_inum>,o=gluu
   -->
   oxId=<id>,ou=sector_identifiers,o=<org_inum>,o=gluu
  1. Create folder /opt/gluu/jetty/oxauth/custom/i18n if needed with "drwxr-xr-x 2 jetty jetty"
  2. Create folder /opt/gluu/jetty/identity/custom/i18n if needed with "drwxr-xr-x 2 jetty jetty"
  3. Copy file oxauth_web_resources.xml from /install/community-edition-setup/output/jetty to /opt/gluu/jetty/oxauth/webapps
  4. Copy file identity_web_resources.xml from /install/community-edition-setup/output/jetty to /opt/gluu/jetty/identity/webapps
  5. Backup/update war files.
  6. Make sure ce.gluu.info is replaced with proper hostname of idp. See 3fec650 This problem exists in 3.1.2 only.
  7. oxTrust 3.1.3 uses recent log4j libraries. There is bug which break Jetty scan annotations at startup: https://stackoverflow.com/questions/46878035/error-scanning-entry-meta-inf-versions-9-org-apache-logging-log4j-util-stackloca As result we need to update Jetty to latest 9.3.x version: https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-distribution/9.3.24.v20180605/jetty-distribution-9.3.24.v20180605.tar.gz