public void setUserContexts(List<DecoratedUserContext> userContexts) {
        this.access();
        this.userContexts = userContexts;
    }
Replaces all UserContexts associated with this session with the given
List of UserContexts. Invoking this function automatically updates this
session's last access time.

@param userContexts
    The List of UserContexts to associate with this session.
guacamole/src/main/java/org/apache/guacamole/GuacamoleSession.java