Interface SingleSignOn
- 
- All Superinterfaces:
- AutoCloseable,- ImmutableSingleSignOn
 - All Known Implementing Classes:
- DefaultSingleSignOn
 
 public interface SingleSignOn extends ImmutableSingleSignOn, AutoCloseable A cached single sign-on entry.- Author:
- Paul Ferraro
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaddParticipant(String applicationId, String sessionId, URI participant)Adds a new participant to this single sign-on entry.voidclose()Closes any resources associated with this single sign-on entry.voidinvalidate()Invalidates this single sign-on entry.Map.Entry<String,URI>removeParticipant(String applicationId)Removes the participant for the specified application from this single sign-on entry.voidsetIdentity(SecurityIdentity identity)Associates a security identity with this single sign-on entry, only if no association exists.- 
Methods inherited from interface org.wildfly.security.http.util.sso.ImmutableSingleSignOngetId, getIdentity, getMechanism, getName, getParticipants, isProgrammatic
 
- 
 
- 
- 
- 
Method Detail- 
setIdentityvoid setIdentity(SecurityIdentity identity) Associates a security identity with this single sign-on entry, only if no association exists.- Parameters:
- identity- a security identity
 
 - 
addParticipantboolean addParticipant(String applicationId, String sessionId, URI participant) Adds a new participant to this single sign-on entry.- Parameters:
- applicationId- the unique identifier of the application.
- sessionId- the unique identifier of the user session.
- participant- the authenticated request URI
- Returns:
- true, if this participant was added, false if this application is already associated with this single sign-on entry.
 
 - 
removeParticipantMap.Entry<String,URI> removeParticipant(String applicationId) Removes the participant for the specified application from this single sign-on entry.- Parameters:
- applicationId- a unique application identifier
- Returns:
- a tuple containing the unique session identifier and authenticated request URI, or null if the specified application was not associated with this single sign-on entry
 
 - 
invalidatevoid invalidate() Invalidates this single sign-on entry.
 - 
closevoid close() Closes any resources associated with this single sign-on entry.- Specified by:
- closein interface- AutoCloseable
 
 
- 
 
-