public class OslcSession extends BaseRESTSession
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OSLCSESSION |
Constructor and Description |
---|
OslcSession() |
Modifier and Type | Method and Description |
---|---|
void |
addStableId(java.lang.String stableId) |
java.lang.String |
bindMbo(java.lang.String osName,
MboRemote mbo) |
void |
cleanup() |
MboRemote |
getBoundMbo(java.lang.String esid) |
java.lang.String |
getCsrfToken() |
java.util.Map<java.lang.String,MboRemote> |
getMbosInSession() |
java.lang.String |
getMXToken() |
java.lang.String |
getPublicURI() |
boolean |
isLeanJSON() |
boolean |
isRelativeURI() |
void |
setCsrfToken() |
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.
|
void |
setLeanJSON(boolean leanJSON) |
void |
setMXSession(MXSession mxSession) |
void |
setPublicURI(java.lang.String publicURI) |
void |
setRelativeURI(boolean relativeURI) |
MboRemote |
unbindMbo(MboRemote mbo) |
getApiUserInfo, getAttribute, getMXSession, isApiSession, removeAttribute, setApiUserInfo, setAttribute, setMXSession, valueBound, valueUnbound
public static final java.lang.String OSLCSESSION
public java.lang.String getCsrfToken()
public void setCsrfToken()
public void setCsrfToken(java.lang.String csrfToken)
csrfToken
- set from MaximoAutheticatorImpl loaded from maxtoken tablepublic java.lang.String getMXToken()
public void setMXSession(MXSession mxSession)
setMXSession
in class BaseRESTSession
public boolean isLeanJSON()
public void setLeanJSON(boolean leanJSON)
public void setRelativeURI(boolean relativeURI)
public boolean isRelativeURI()
public void setPublicURI(java.lang.String publicURI)
public java.lang.String getPublicURI()
public java.util.Map<java.lang.String,MboRemote> getMbosInSession()
public void addStableId(java.lang.String stableId)
public java.lang.String bindMbo(java.lang.String osName, MboRemote mbo)
public void cleanup()
cleanup
in class BaseRESTSession
public MboRemote getBoundMbo(java.lang.String esid)