SubjectContext.setSession

Sets the {@code Session} to use when building the {@code Subject} instance. Note that it is more common to specify a {@link #setSessionId sessionId} to automatically resolve the desired session rather than constructing a {@code Session} to call this method.

@param session the {@code Session} to use when building the {@code Subject} instance.

interface SubjectContext
void
setSession

Meta