public static class IdentityServer.STACK extends Object implements IdentityParticipantStack
Constructor and Description |
---|
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)
IdentityParticipantStack
peek
in interface IdentityParticipantStack
IdentityParticipantStack.peek(java.lang.String)
public String pop(String sessionID)
IdentityParticipantStack
pop
in interface IdentityParticipantStack
IdentityParticipantStack.pop(java.lang.String)
public void register(String sessionID, String participant, boolean postBinding)
IdentityParticipantStack
register
in interface IdentityParticipantStack
IdentityParticipantStack.register(java.lang.String,
java.lang.String, boolean)
public int getParticipants(String sessionID)
IdentityParticipantStack
getParticipants
in interface IdentityParticipantStack
IdentityParticipantStack.getParticipants(java.lang.String)
public boolean registerTransitParticipant(String sessionID, String participant)
IdentityParticipantStack
registerTransitParticipant
in interface IdentityParticipantStack
IdentityParticipantStack.registerTransitParticipant(java.lang.String,
java.lang.String)
public boolean deRegisterTransitParticipant(String sessionID, String participant)
IdentityParticipantStack
deRegisterTransitParticipant
in interface IdentityParticipantStack
IdentityParticipantStack.deRegisterTransitParticipant(java.lang.String,
java.lang.String)
public int getNumOfParticipantsInTransit(String sessionID)
IdentityParticipantStack
getNumOfParticipantsInTransit
in interface IdentityParticipantStack
IdentityParticipantStack.getNumOfParticipantsInTransit(java.lang.String)
public Boolean getBinding(String participant)
IdentityParticipantStack
For a particular participant, indicate whether it supports POST or REDIRECT binding.
NOTE: true: POST, false: REDIRECT, null: does not exist
getBinding
in interface IdentityParticipantStack
IdentityParticipantStack.getBinding(java.lang.String)
public int totalSessions()
IdentityParticipantStack
totalSessions
in interface IdentityParticipantStack
IdentityParticipantStack.totalSessions()
public void createSession(String id)
IdentityParticipantStack
createSession
in interface IdentityParticipantStack
IdentityParticipantStack.createSession(java.lang.String)
public void removeSession(String id)
IdentityParticipantStack
removeSession
in interface IdentityParticipantStack
IdentityParticipantStack.removeSession(java.lang.String)
Copyright © 2016 JBoss by Red Hat. All rights reserved.