Followup to "Monitoring OAM sessions" thread - instantiating UserSession and deleting sessions
Hi,
This is a followup to an earlier thread about "Trying to monitor sessions programmatically (Java)?".
At the end of that earlier thread, there was a discussion about deleting OAM sessions, and it was suggested that UserSession.terminate() be used to do that. However, using the terminate() method requires that a UserSession object be instantiated, and it was suggested that the newer ASDK includes a constructor for the UserSession that takes a sessionToken as a parameter.
However, I guess the question then becomes how can you get a sessionToken? There is a UserSession.getToken(), but that itself requires an existing UserSession object, so it's kind of a "circular" approach?