@Service(value="MOAID_SSOManager") public class SSOManager extends Object
| Modifier and Type | Field and Description |
|---|---|
protected at.gv.egovernment.moa.id.commons.api.AuthConfiguration |
authConfig |
static String |
CONTEXTPATH |
| Constructor and Description |
|---|
SSOManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkInterfederationIsRequested(javax.servlet.http.HttpServletRequest httpReq,
javax.servlet.http.HttpServletResponse httpResp,
at.gv.egovernment.moa.id.commons.api.IRequest protocolRequest)
Check if interfederation IDP is requested via HTTP GET parameter or if interfederation cookie exists.
|
String |
createSSOSessionInformations(String moaSessionID,
String OAUrl) |
void |
deleteSSOSessionID(javax.servlet.http.HttpServletRequest httpReq,
javax.servlet.http.HttpServletResponse httpResp) |
String |
existsOldSSOSession(String ssoId) |
AuthenticationSession |
getInternalMOASession(String ssoSessionID) |
String |
getSSOSessionID(javax.servlet.http.HttpServletRequest httpReq) |
String |
getUniqueSessionIdentifier(String ssoSessionID) |
boolean |
isValidSSOSession(String ssoSessionID,
at.gv.egovernment.moa.id.commons.api.IRequest protocolRequest) |
boolean |
removeInterfederatedSSOIDP(String entityID,
javax.servlet.http.HttpServletRequest request) |
void |
setInterfederationIDPCookie(javax.servlet.http.HttpServletRequest httpReq,
javax.servlet.http.HttpServletResponse httpResp,
String value) |
void |
setSSOSessionID(javax.servlet.http.HttpServletRequest httpReq,
javax.servlet.http.HttpServletResponse httpResp,
String ssoId) |
public static String CONTEXTPATH
@Autowired protected at.gv.egovernment.moa.id.commons.api.AuthConfiguration authConfig
public void checkInterfederationIsRequested(javax.servlet.http.HttpServletRequest httpReq,
javax.servlet.http.HttpServletResponse httpResp,
at.gv.egovernment.moa.id.commons.api.IRequest protocolRequest)
throws at.gv.egovernment.moa.id.commons.api.exceptions.SessionDataStorageException
httpReq - HttpServletRequesthttpResp - HttpServletResponseprotocolRequest - Authentication request which is actually in processat.gv.egovernment.moa.id.commons.api.exceptions.SessionDataStorageExceptionpublic void setInterfederationIDPCookie(javax.servlet.http.HttpServletRequest httpReq,
javax.servlet.http.HttpServletResponse httpResp,
String value)
public boolean isValidSSOSession(String ssoSessionID, at.gv.egovernment.moa.id.commons.api.IRequest protocolRequest) throws at.gv.egovernment.moa.id.commons.api.exceptions.ConfigurationException, at.gv.egovernment.moa.id.commons.api.exceptions.SessionDataStorageException
at.gv.egovernment.moa.id.commons.api.exceptions.ConfigurationExceptionat.gv.egovernment.moa.id.commons.api.exceptions.SessionDataStorageExceptionpublic AuthenticationSession getInternalMOASession(String ssoSessionID) throws at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseExceptionpublic String createSSOSessionInformations(String moaSessionID, String OAUrl)
public void setSSOSessionID(javax.servlet.http.HttpServletRequest httpReq,
javax.servlet.http.HttpServletResponse httpResp,
String ssoId)
public String getSSOSessionID(javax.servlet.http.HttpServletRequest httpReq)
public void deleteSSOSessionID(javax.servlet.http.HttpServletRequest httpReq,
javax.servlet.http.HttpServletResponse httpResp)
public boolean removeInterfederatedSSOIDP(String entityID, javax.servlet.http.HttpServletRequest request)
entityID - request - Copyright © 2017. All rights reserved.