public class

ACMJwt

extends Object
java.lang.Object
   ↳ com.microstrategy.webapi.acm.ACMJwt

Class Overview

ACMJwt represents the JWT as given by the IServer. The object, once created is immutable, because only the IServer knows how to modify it The ACMJwt is used as a parameter when creating a new sessionID, so we need to know very little about its contents.

It would be easy to just use the string version of the contents as the representation. But, by using a special object, the compiler can tell the difference between a JWT, a Project Id, and a Session Id (Master, Configuration, Project). This ensures the maps are type safe - in other words we never accidentally use a Project Session Id as a JWT!

Summary

Nested Classes
class ACMJwt.Header  
Fields
public final EncryptedObject<ACMJwt.Header> mHeader
Public Constructors
ACMJwt(String iContents)
Public Methods
boolean equals(Object iThat)
equals is implemented so this can be used as a key in a HashMap
String getJWT()
getJWT returns a JWT that can be used directly to send to IServer@return
int hashCode()
hashCode is implemented so this can be used as a key in a HashMap
boolean isNotEmpty()
String toString()
To get the JWT value use

[Expand]
Inherited Methods
From class java.lang.Object

Fields

public final EncryptedObject<ACMJwt.Header> mHeader

Public Constructors

public ACMJwt (String iContents)

Public Methods

public boolean equals (Object iThat)

equals is implemented so this can be used as a key in a HashMap

public String getJWT ()

getJWT returns a JWT that can be used directly to send to IServer@return

public int hashCode ()

hashCode is implemented so this can be used as a key in a HashMap

public boolean isNotEmpty ()

public String toString ()

To get the JWT value use