public class InMemorySessionIdMapper extends Object implements SessionIdMapper
Constructor and Description |
---|
InMemorySessionIdMapper() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
String |
getSessionFromSSO(String sso) |
Set<String> |
getUserSessions(String principal) |
boolean |
hasSession(String id) |
void |
map(String sso,
String principal,
String session) |
void |
removeSession(String session) |
public boolean hasSession(String id)
hasSession
in interface SessionIdMapper
public void clear()
clear
in interface SessionIdMapper
public Set<String> getUserSessions(String principal)
getUserSessions
in interface SessionIdMapper
public String getSessionFromSSO(String sso)
getSessionFromSSO
in interface SessionIdMapper
public void map(String sso, String principal, String session)
map
in interface SessionIdMapper
public void removeSession(String session)
removeSession
in interface SessionIdMapper
Copyright © 2016 JBoss by Red Hat. All rights reserved.