Top Methods
io.undertow.security.impl

public Interface SingleSignOn

extends Iterable<Session>, AutoCloseable
Known Direct Implementers
io.undertow.security.impl.InMemorySingleSignOnManager.SimpleSingleSignOnEntry
Imports
io.undertow.security.idm.Account, io.undertow.server.session.Session, .SessionManager

Authors
Stuart Douglas, Paul Ferraro

Method Summary

Modifier and TypeMethod and Description
public void
add(Session
a session manager
session
)

Adds the specified session to the set of sessions to which the user is authenticated

public void
close()

Redeclares java.lang.AutoCloseable.close.

Releases any resources acquired by this object.

public boolean
contains(Session
a session manager
session
)

Indicates whether or not the specified session is contained in the set of sessions to which the user is authenticated

public Account

Returns:

an account
getAccount
()

Returns the account associated with this SSO.

public String

Returns:

this SSO's unique identifier
getId
()

Returns the unique identifier for this SSO.

public String

Returns:

an authentication mechanism
getMechanismName
()

Returns the authentication mechanism used to create the account associated with this SSO.

public Session

Returns:

a session
getSession
(SessionManager
a session manager
manager
)

Returns the session associated with the deployment of the specified session manager

public void
remove(Session
a session manager
session
)

Removes the specified session from the set of sessions to which the user is authenticated

Inherited from java.lang.Iterable:
forEachiteratorspliterator

Method Detail

addback to summary
public void add(Session session)

Adds the specified session to the set of sessions to which the user is authenticated

Parameters
session:Session

a session manager

closeback to summary
public void close()

Redeclares java.lang.AutoCloseable.close.

Releases any resources acquired by this object. Must be called after this object is no longer in use.

Annotations
@Override
containsback to summary
public boolean contains(Session session)

Indicates whether or not the specified session is contained in the set of sessions to which the user is authenticated

Parameters
session:Session

a session manager

getAccountback to summary
public Account getAccount()

Returns the account associated with this SSO.

Returns:Account

an account

getIdback to summary
public String getId()

Returns the unique identifier for this SSO.

Returns:String

this SSO's unique identifier

getMechanismNameback to summary
public String getMechanismName()

Returns the authentication mechanism used to create the account associated with this SSO.

Returns:String

an authentication mechanism

getSessionback to summary
public Session getSession(SessionManager manager)

Returns the session associated with the deployment of the specified session manager

Parameters
manager:SessionManager

a session manager

Returns:Session

a session

removeback to summary
public void remove(Session session)

Removes the specified session from the set of sessions to which the user is authenticated

Parameters
session:Session

a session manager