# Uses of Class
net.shibboleth.idp.session.SessionException

Packages that use SessionException
Package
Description
net.shibboleth.idp.session
APIs related to the construction and management of sessions.
net.shibboleth.idp.session.impl
Implementations of session-related classes and interfaces.

## Uses of SessionException in net.shibboleth.idp.session

Methods in net.shibboleth.idp.session that throw SessionException
Modifier and Type
Method
Description
`AuthenticationResult`
AbstractIdPSession.`addAuthenticationResult(AuthenticationResult result)`
Add a new `AuthenticationResult` to this IdP session, replacing any existing result of the same flow ID.
`AuthenticationResult`
IdPSession.`addAuthenticationResult(AuthenticationResult result)`
Add a new `AuthenticationResult` to this IdP session, replacing any existing result of the same flow ID.
`SPSession`
AbstractIdPSession.`addSPSession(SPSession spSession)`
Add a new SP session to this IdP session, replacing any existing session for the same service.
`SPSession`
IdPSession.`addSPSession(SPSession spSession)`
Add a new SP session to this IdP session, replacing any existing session for the same service.
`void`
AbstractIdPSession.`bindToAddress(String address)`
Associate an address with this session.
`boolean`
AbstractIdPSession.`checkAddress(String address)`
Test the session's validity based on the supplied client address, possibly binding it to the session if appropriate.
`boolean`
IdPSession.`checkAddress(String address)`
Test the session's validity based on the supplied client address, possibly binding it to the session if appropriate.
`boolean`
AbstractIdPSession.`checkTimeout()`
Test the session's validity based on inactivity, while updating the last activity time.
`boolean`
IdPSession.`checkTimeout()`
Test the session's validity based on inactivity, while updating the last activity time.
`IdPSession`
SessionManager.`createSession(String principalName)`
Create and return a new `IdPSession` object for a subject.
`void`
SessionManager.`destroySession(String sessionId, boolean unbind)`
Invalidates or otherwise removes a session from persistent storage and/or unbinds it from a client.
`boolean`
AbstractIdPSession.`removeAuthenticationResult(AuthenticationResult result)`
Disassociate an `AuthenticationResult` from this IdP session.
`boolean`
IdPSession.`removeAuthenticationResult(AuthenticationResult result)`
Disassociate an `AuthenticationResult` from this IdP session.
`boolean`
AbstractIdPSession.`removeSPSession(SPSession spSession)`
Disassociate the given SP session from this IdP session.
`boolean`
IdPSession.`removeSPSession(SPSession spSession)`
Disassociate the given SP session from this IdP session.
`void`
AbstractIdPSession.`setLastActivityInstant(Instant instant)`
Set the last activity instant for the session.
`void`
IdPSession.`updateAuthenticationResultActivity(AuthenticationResult result)`
Update the recorded activity timestamp for an `AuthenticationResult` associated with this session.

## Uses of SessionException in net.shibboleth.idp.session.impl

Methods in net.shibboleth.idp.session.impl that throw SessionException
Modifier and Type
Method
Description
`AuthenticationResult`
StorageBackedIdPSession.`addAuthenticationResult(AuthenticationResult result)`
Add a new `AuthenticationResult` to this IdP session, replacing any existing result of the same flow ID.
`SPSession`
StorageBackedIdPSession.`addSPSession(SPSession spSession)`
Add a new SP session to this IdP session, replacing any existing session for the same service.
`void`
StorageBackedIdPSession.`bindToAddress(String address)`
Associate an address with this session.
`boolean`
StorageBackedIdPSession.`checkAddress(String address)`
Test the session's validity based on the supplied client address, possibly binding it to the session if appropriate.
`boolean`
StorageBackedIdPSession.`checkTimeout()`
Test the session's validity based on inactivity, while updating the last activity time.
`private void`
UpdateSessionWithAuthenticationResult.`createIdPSession(AuthenticationContext authenticationContext)`
Create a new session and populate the SessionContext.
`IdPSession`
StorageBackedSessionManager.`createSession(String principalName)`
Create and return a new `IdPSession` object for a subject.
`void`
StorageBackedSessionManager.`destroySession(String sessionId, boolean unbind)`
Invalidates or otherwise removes a session from persistent storage and/or unbinds it from a client.
`protected void`
StorageBackedSessionManager.`indexBySPSession(IdPSession idpSession, SPSession spSession, int attempts)`
Insert or update a secondary index record from an SPSession to a parent IdPSession.
`boolean`
StorageBackedIdPSession.`removeAuthenticationResult(AuthenticationResult result)`
Disassociate an `AuthenticationResult` from this IdP session.
`boolean`
StorageBackedIdPSession.`removeSPSession(SPSession spSession)`
Disassociate the given SP session from this IdP session.
`void`
StorageBackedIdPSession.`setLastActivityInstant(Instant instant)`
Set the last activity instant for the session.
`protected void`
StorageBackedSessionManager.`unindexSPSession(IdPSession idpSession, SPSession spSession, int attempts)`
Remove or update a secondary index record from an SPSession to a parent IdPSession.
`void`
StorageBackedIdPSession.`updateAuthenticationResultActivity(AuthenticationResult result)`
Update the recorded activity timestamp for an `AuthenticationResult` associated with this session.
`private void`
UpdateSessionWithAuthenticationResult.`updateIdPSession(AuthenticationContext authenticationContext, IdPSession session)`
Update an existing session.