com.ibm.tivoli.maximo.oslc.provider

Class OslcSession

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.http.HttpSessionBindingListener


    public class OslcSession
    extends BaseRESTSession
    • Constructor Detail

      • OslcSession

        public OslcSession()
    • Method Detail

      • getCsrfToken

        public java.lang.String getCsrfToken()
      • setCsrfToken

        public void setCsrfToken()
      • setCsrfToken

        public void setCsrfToken(java.lang.String csrfToken)
        This api will only be used to set the csrftoken recovered from the maxtoken table - effectively when the user session is getting transitioned to another server. At that point the IntegrationContext has the csrf token (set from the SecurityService authenticateSessionTokenM method) and hence we just need to set the OslcSession.
        Parameters:
        csrfToken - set from MaximoAutheticatorImpl loaded from maxtoken table
      • getMXToken

        public java.lang.String getMXToken()
      • isLeanJSON

        public boolean isLeanJSON()
      • setLeanJSON

        public void setLeanJSON(boolean leanJSON)
      • setRelativeURI

        public void setRelativeURI(boolean relativeURI)
      • isRelativeURI

        public boolean isRelativeURI()
      • setPublicURI

        public void setPublicURI(java.lang.String publicURI)
      • getPublicURI

        public java.lang.String getPublicURI()
      • getMbosInSession

        public java.util.Map getMbosInSession()
      • addStableId

        public void addStableId(java.lang.String stableId)
      • bindMbo

        public java.lang.String bindMbo(java.lang.String osName,
                                        MboRemote mbo)
      • getBoundMbo

        public MboRemote getBoundMbo(java.lang.String esid)