public class IdentityServer.STACK extends Object implements IdentityParticipantStack
| Constructor and Description |
|---|
IdentityServer.STACK() |
| Modifier and Type | Method and Description |
|---|---|
void |
createSession(String id)
Create a session
|
boolean |
deRegisterTransitParticipant(String sessionID,
String participant)
Deregister a participant as in transit in a logout interaction
|
Boolean |
getBinding(String participant)
For a particular participant, indicate whether it supports POST or REDIRECT binding.
|
int |
getNumOfParticipantsInTransit(String sessionID)
Return the number of participants in transit
|
int |
getParticipants(String sessionID)
For a given identity session, return the number of participants
|
String |
peek(String sessionID)
Peek at the most recent participant in the session
|
String |
pop(String sessionID)
Remove the most recent participant in the session
|
void |
register(String sessionID,
String participant,
boolean postBinding)
Register a participant in a session
|
boolean |
registerTransitParticipant(String sessionID,
String participant)
Register a participant as in transit in a logout interaction
|
void |
removeSession(String id)
Remove a session
|
int |
totalSessions()
The total number of sessions active
|
public String peek(String sessionID)
IdentityParticipantStackpeek in interface IdentityParticipantStackIdentityParticipantStack.peek(java.lang.String)public String pop(String sessionID)
IdentityParticipantStackpop in interface IdentityParticipantStackIdentityParticipantStack.pop(java.lang.String)public void register(String sessionID, String participant, boolean postBinding)
IdentityParticipantStackregister in interface IdentityParticipantStackIdentityParticipantStack.register(java.lang.String,
java.lang.String, boolean)public int getParticipants(String sessionID)
IdentityParticipantStackgetParticipants in interface IdentityParticipantStackIdentityParticipantStack.getParticipants(java.lang.String)public boolean registerTransitParticipant(String sessionID, String participant)
IdentityParticipantStackregisterTransitParticipant in interface IdentityParticipantStackIdentityParticipantStack.registerTransitParticipant(java.lang.String,
java.lang.String)public boolean deRegisterTransitParticipant(String sessionID, String participant)
IdentityParticipantStackdeRegisterTransitParticipant in interface IdentityParticipantStackIdentityParticipantStack.deRegisterTransitParticipant(java.lang.String,
java.lang.String)public int getNumOfParticipantsInTransit(String sessionID)
IdentityParticipantStackgetNumOfParticipantsInTransit in interface IdentityParticipantStackIdentityParticipantStack.getNumOfParticipantsInTransit(java.lang.String)public Boolean getBinding(String participant)
IdentityParticipantStackFor a particular participant, indicate whether it supports POST or REDIRECT binding.
NOTE: true: POST, false: REDIRECT, null: does not exist
getBinding in interface IdentityParticipantStackIdentityParticipantStack.getBinding(java.lang.String)public int totalSessions()
IdentityParticipantStacktotalSessions in interface IdentityParticipantStackIdentityParticipantStack.totalSessions()public void createSession(String id)
IdentityParticipantStackcreateSession in interface IdentityParticipantStackIdentityParticipantStack.createSession(java.lang.String)public void removeSession(String id)
IdentityParticipantStackremoveSession in interface IdentityParticipantStackIdentityParticipantStack.removeSession(java.lang.String)Copyright © 2012 JBoss by Red Hat. All Rights Reserved.