DBAuthenticationSessionStoreage
public interface IAuthenticationSessionStoreage
Modifier and Type | Method | Description |
---|---|---|
void |
addFederatedSessionInformation(at.gv.egiz.eaaf.core.api.IRequest req,
String idpEntityID,
at.gv.egiz.eaaf.modules.pvp2.sp.impl.utils.AssertionAttributeExtractor extractor) |
Add information of the federated IDP to MOASession
|
void |
addSSOInformation(String moaSessionID,
String SSOSessionID,
at.gv.egiz.eaaf.core.api.idp.slo.SLOInformationInterface SLOInfo,
at.gv.egiz.eaaf.core.api.IRequest protocolRequest) |
Add Single Sign-On processing information to a MOASession.
|
at.gv.egovernment.moa.id.commons.db.dao.session.OldSSOSessionIDStore |
checkSSOTokenAlreadyUsed(String ssoId) |
|
void |
clean(Date now,
long authDataTimeOutCreated,
long authDataTimeOutUpdated) |
Clean all MOASessions which has a timeOut
|
AuthenticationSession |
createInternalSSOSession(at.gv.egiz.eaaf.core.api.IRequest target) |
Create a new MOA SSO-Session object in database
The SSO session object get populated with eID information from pending request
|
void |
deleteIdpInformation(at.gv.egovernment.moa.id.commons.db.dao.session.InterfederationSessionStore nextIDPInformation) |
|
void |
destroyInternalSSOSession(String internalSsoSessionID) |
Delete a MOASession
|
List<at.gv.egovernment.moa.id.commons.db.dao.session.InterfederationSessionStore> |
getAllActiveIDPsFromMOASession(String ssoSessionId) |
Get all active interfederation connections for a MOASession
|
List<at.gv.egovernment.moa.id.commons.db.dao.session.OASessionStore> |
getAllActiveOAFromMOASession(String ssoSessionId) |
Get all Single Sign-On authenticated Service-Provider of a MOASession
|
AuthenticationSessionExtensions |
getAuthenticationSessionExtensions(String internalSsoSessionID) |
Get the session-data extension-object for a MOASession
|
AuthenticationSession |
getInternalSSOSession(String internalSsoSessionID) |
Get a MOASession with sessionID
|
String |
getInternalSSOSessionWithSSOID(String externelSSOId) |
Find the internal SSO session identifier of an active Single Sign-On session
|
at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession |
getSessionWithUserNameID(String nameID) |
Search a active MOASession with a userID
|
boolean |
isSSOSession(String sessionID) |
Check if a MOASession is an active Single Sign-On session
|
at.gv.egovernment.moa.id.commons.db.dao.session.AuthenticatedSessionStore |
isValidSessionWithSSOID(String SSOId) |
|
void |
markOAWithAttributeQueryUsedFlag(at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession session,
String oaurl,
String requestedModule) |
|
void |
persistIdpInformation(at.gv.egovernment.moa.id.commons.db.dao.session.InterfederationSessionStore nextIDPInformation) |
|
boolean |
removeInterfederetedSession(String entityID,
String pedingRequestID) |
Deprecated.
|
at.gv.egovernment.moa.id.commons.db.dao.session.OASessionStore |
searchActiveOASSOSession(at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession moaSession,
String oaID,
String protocolType) |
Search a active Single Sign-On session for a specific Service-Provider
|
at.gv.egovernment.moa.id.commons.db.dao.session.InterfederationSessionStore |
searchInterfederatedIDPFORAttributeQueryWithSessionID(String moaSessionID) |
Search an active federation IDP which could be used for federated Single Sign-On by using an AttributeQuery
|
at.gv.egovernment.moa.id.commons.db.dao.session.InterfederationSessionStore |
searchInterfederatedIDPFORSSOWithMOASession(String sessionID) |
Search an active federation IDP which could be used for federated Single Sign-On
|
at.gv.egovernment.moa.id.commons.db.dao.session.InterfederationSessionStore |
searchInterfederatedIDPFORSSOWithMOASessionIDPID(String sessionID,
String idpID) |
Get information to an active federated IDP of MOASession
|
String |
searchSSOSessionWithNameIDandOAID(String oaID,
String userNameID) |
Search a SSO session by using already transfered authentication information
|
void |
setAuthenticated(String internalSsoSessionID,
boolean isAuthenticated) |
Set the isAuthenticated flag to MOASession
|
void |
setAuthenticationSessionExtensions(String internalSsoSessionID,
AuthenticationSessionExtensions sessionExtensions) |
Store a session-data extension-object to MOASession
|
AuthenticationSession createInternalSSOSession(at.gv.egiz.eaaf.core.api.IRequest target) throws at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException, BuildException
target
- Pending Request which is associated with this MOASessionat.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
- MOASession storage operation FAILEDBuildException
- MOASession encryption FAILEDAuthenticationSession getInternalSSOSession(String internalSsoSessionID) throws at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
internalSsoSessionID
- Internal MOA SSO-Session identifierat.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
- MOASession load operation FAILEDAuthenticationSessionExtensions getAuthenticationSessionExtensions(String internalSsoSessionID) throws at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
internalSsoSessionID
- Internal MOA SSO-Session identifierat.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
- MOASession load operation FAILEDvoid setAuthenticationSessionExtensions(String internalSsoSessionID, AuthenticationSessionExtensions sessionExtensions) throws at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
internalSsoSessionID
- Internal MOA SSO-Session identifiersessionExtensions
- AuthenticationSessionExtensions objectat.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
- MOASession storage operation FAILEDvoid destroyInternalSSOSession(String internalSsoSessionID) throws at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
internalSsoSessionID
- Internal MOA SSO-Session identifierat.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
- MOASession delete operation FAILEDvoid setAuthenticated(String internalSsoSessionID, boolean isAuthenticated)
internalSsoSessionID
- Internal MOA SSO-Session identifierisAuthenticated
- Is authenticated flag (true/false)String getInternalSSOSessionWithSSOID(String externelSSOId) throws at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
externelSSOId
- external Single Sign-On sessionIDat.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
boolean isSSOSession(String sessionID) throws at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
sessionID
- SessionID which corresponds to a MOASessionat.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
- MOASession load operation FAILEDat.gv.egovernment.moa.id.commons.db.dao.session.AuthenticatedSessionStore isValidSessionWithSSOID(String SSOId)
SSOId
- void addSSOInformation(String moaSessionID, String SSOSessionID, at.gv.egiz.eaaf.core.api.idp.slo.SLOInformationInterface SLOInfo, at.gv.egiz.eaaf.core.api.IRequest protocolRequest) throws AuthenticationException
moaSessionID
- SessionID which corresponds to a MOASessionSSOSessionID
- Single Sign-On sessionIDSLOInfo
- Data object with Single LogOut informationprotocolRequest
- Protocol-request object of the authentication requestAuthenticationException
- Single Sign-On information store operation FAILEDList<at.gv.egovernment.moa.id.commons.db.dao.session.OASessionStore> getAllActiveOAFromMOASession(String ssoSessionId)
ssoSessionId
- SSO session idList<at.gv.egovernment.moa.id.commons.db.dao.session.InterfederationSessionStore> getAllActiveIDPsFromMOASession(String ssoSessionId)
ssoSessionId
- SSO session idString searchSSOSessionWithNameIDandOAID(String oaID, String userNameID)
oaID
- Service-Provider identifier, which has received the authentication informationuserNameID
- UserId (bPK), which was send to this Service-Providerat.gv.egovernment.moa.id.commons.db.dao.session.OASessionStore searchActiveOASSOSession(at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession moaSession, String oaID, String protocolType)
moaSession
- MOASession data objectoaID
- Service-Provider identifier, which has received the authentication informationprotocolType
- Authentication protocol, which was used for SSO from this Service-Providerat.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession getSessionWithUserNameID(String nameID)
nameID
- UserID (bPK)at.gv.egovernment.moa.id.commons.db.dao.session.InterfederationSessionStore searchInterfederatedIDPFORSSOWithMOASession(String sessionID)
sessionID
- SessionID which corresponds to a MOASessionat.gv.egovernment.moa.id.commons.db.dao.session.InterfederationSessionStore searchInterfederatedIDPFORSSOWithMOASessionIDPID(String sessionID, String idpID)
sessionID
- SessionID which corresponds to a MOASessionidpID
- Unique identifier of the federated IDPvoid addFederatedSessionInformation(at.gv.egiz.eaaf.core.api.IRequest req, String idpEntityID, at.gv.egiz.eaaf.modules.pvp2.sp.impl.utils.AssertionAttributeExtractor extractor) throws at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException, at.gv.egiz.eaaf.modules.pvp2.sp.exception.AssertionAttributeExtractorExeption, BuildException, at.gv.egiz.eaaf.core.exceptions.EAAFConfigurationException
req
- Pending request of the service-provider request, never nullidpEntityID
- The SAML2 EntityID of the federated IDP, never nullextractor
- AssertionAttributeExtractor
which holds the SAML2 response of the federated IDP, never nullat.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
at.gv.egiz.eaaf.modules.pvp2.sp.exception.AssertionAttributeExtractorExeption
BuildException
at.gv.egiz.eaaf.core.exceptions.EAAFConfigurationException
at.gv.egovernment.moa.id.commons.db.dao.session.InterfederationSessionStore searchInterfederatedIDPFORAttributeQueryWithSessionID(String moaSessionID)
moaSessionID
- ID of a active MOASession@Deprecated boolean removeInterfederetedSession(String entityID, String pedingRequestID)
entityID
- Unique identifier of the federated IDPpedingRequestID
- void clean(Date now, long authDataTimeOutCreated, long authDataTimeOutUpdated)
now
- Current TimeauthDataTimeOutCreated
- timeOut after MOASession is created [ms]authDataTimeOutUpdated
- timeOut after MOASession is updated last time [ms]void markOAWithAttributeQueryUsedFlag(at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession session, String oaurl, String requestedModule)
session
- oaurl
- requestedModule
- void deleteIdpInformation(at.gv.egovernment.moa.id.commons.db.dao.session.InterfederationSessionStore nextIDPInformation)
nextIDPInformation
- void persistIdpInformation(at.gv.egovernment.moa.id.commons.db.dao.session.InterfederationSessionStore nextIDPInformation)
nextIDPInformation
- at.gv.egovernment.moa.id.commons.db.dao.session.OldSSOSessionIDStore checkSSOTokenAlreadyUsed(String ssoId)
ssoId
- Copyright © 2019. All rights reserved.