A {@code SessionKey} is a key that allows look-up of any particular {@link org.apache.shiro.session.Session Session}instance. This is not to be confused what is probably better recognized as a session
attribute key - a key that is used to acquire a session attribute via the {@link org.apache.shiro.session.Session#getAttribute(Object) Session.getAttribute} method. A {@code SessionKey}looks up a Session object directly.
While a {@code SessionKey} allows lookup of
any Session that might exist, this is not something in practicedone too often by most Shiro end-users. Instead, it is usually more convenient to acquire the currently executing {@code Subject}'s session via the {@link org.apache.shiro.subject.Subject#getSession} method. This interface andits usages are best suited for framework development.
@author Les Hazlewood
@since 1.0