public interface SessionIdMapper
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears all mappings from this mapper.
|
String |
getSessionFromSSO(String sso)
Returns HTTP session ID from the given user session ID.
|
Set<String> |
getUserSessions(String principal)
Returns set of HTTP session IDs for the given principal.
|
boolean |
hasSession(String id)
Returns
true if the mapper contains mapping for the given HTTP session ID. |
void |
map(String sso,
String principal,
String session)
Establishes mapping between user session ID, principal and HTTP session ID.
|
void |
removeSession(String session)
Removes mappings for the given HTTP session ID.
|
boolean hasSession(String id)
true
if the mapper contains mapping for the given HTTP session ID.id
- void clear()
Set<String> getUserSessions(String principal)
principal
- PrincipalString getSessionFromSSO(String sso)
sso
- User session IDvoid map(String sso, String principal, String session)
sso
- User session IDprincipal
- Principalsession
- HTTP session IDvoid removeSession(String session)
session
- HTTP session ID.Copyright © 2019 JBoss by Red Hat. All rights reserved.