Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-9800

clientSDK 13.5.0 is missing depending classes

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not a defect
    • Affects Version/s: 13.5.0
    • Fix Version/s: None
    • Component/s: SDK
    • Labels:
    • Sprint:
      AM Sustaining Sprint 33
    • Story Points:
      3
    • Support Ticket IDs:

      Description

      OpenAM ClientSDK 13.5.0 is missing at least the following classes

      com.iplanet.dpro.session.service.cluster.ClusterMonitor
      org.apache.commons.collections.Predicate

      Due to the dependency injection in org.forgerock.openam.session.SessionServiceURLService

          public URL getSessionServiceURL(SessionID sid) throws SessionException {
              String primaryId;
      
              if (SystemProperties.isServerMode()) {
      
                  /**
                   * Validate that the SessionID contains valid Server and Site references.
                   * This check is not appropriate for client side code as only the Site
                   * reference is exposed to client code.
                   */
                  sid.validate();
      
                  SessionService ss = InjectorHolder.getInstance(SessionService.class);
      ...
      

      the following stacktraces will occur

      ava.lang.ClassNotFoundException: org.apache.commons.collections.Predicate
      org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1332)
      org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1166)
      org.forgerock.openam.session.SessionServiceURLService.getSessionServiceURL(SessionServiceURLService.java:137)
      com.iplanet.dpro.session.Session.getSessionServiceURL(Session.java:779)
      com.iplanet.dpro.session.operations.strategies.RemoteOperations.refresh(RemoteOperations.java:76)
      com.iplanet.dpro.session.Session.doRefresh(Session.java:1060)
      com.iplanet.dpro.session.Session.access$300(Session.java:119)
      com.iplanet.dpro.session.Session$2.run(Session.java:1036)
      com.sun.identity.session.util.RestrictedTokenContext.doUsing(RestrictedTokenContext.java:81)
      com.iplanet.dpro.session.Session.refresh(Session.java:1033)
      org.forgerock.openam.session.SessionCache.getSession(SessionCache.java:300)
      org.forgerock.openam.session.SessionCache.getSession(SessionCache.java:232)
      org.forgerock.openam.session.SessionCache.getSession(SessionCache.java:217)
      com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:110)
      com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:296)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:142)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      
      java.lang.ClassNotFoundException: com.iplanet.dpro.session.service.cluster.ClusterMonitor
      org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1332)
      org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1166)
      org.forgerock.openam.session.SessionServiceURLService.getSessionServiceURL(SessionServiceURLService.java:137)
      com.iplanet.dpro.session.Session.getSessionServiceURL(Session.java:779)
      com.iplanet.dpro.session.operations.strategies.RemoteOperations.refresh(RemoteOperations.java:76)
      com.iplanet.dpro.session.Session.doRefresh(Session.java:1060)
      com.iplanet.dpro.session.Session.access$300(Session.java:119)
      com.iplanet.dpro.session.Session$2.run(Session.java:1036)
      com.sun.identity.session.util.RestrictedTokenContext.doUsing(RestrictedTokenContext.java:81)
      com.iplanet.dpro.session.Session.refresh(Session.java:1033)
      org.forgerock.openam.session.SessionCache.getSession(SessionCache.java:300)
      org.forgerock.openam.session.SessionCache.getSession(SessionCache.java:232)
      org.forgerock.openam.session.SessionCache.getSession(SessionCache.java:217)
      com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:110)
      com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:296)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:142)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      

        Attachments

          Activity

            People

            • Assignee:
              peter.major Peter Major
              Reporter:
              bthalmayr Bernhard Thalmayr
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: