public interface SingleSignOn extends Iterable<Session>, AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
add(Session session)
Adds the specified session to the set of sessions to which the user is authenticated
|
void |
close()
Releases any resources acquired by this object.
|
boolean |
contains(Session session)
Indicates whether or not the specified session is contained in the set of sessions to which the user is authenticated
|
Account |
getAccount()
Returns the account associated with this SSO.
|
String |
getId()
Returns the unique identifier for this SSO.
|
String |
getMechanismName()
Returns the authentication mechanism used to create the account associated with this SSO.
|
Session |
getSession(SessionManager manager)
Returns the session associated with the deployment of the specified session manager
|
void |
remove(Session session)
Removes the specified session from the set of sessions to which the user is authenticated
|
forEach, iterator, spliterator
String getId()
Account getAccount()
String getMechanismName()
boolean contains(Session session)
session
- a session managervoid add(Session session)
session
- a session managervoid remove(Session session)
session
- a session managerSession getSession(SessionManager manager)
manager
- a session managervoid close()
close
in interface AutoCloseable
Copyright © 2017 JBoss by Red Hat. All rights reserved.