@Service("AuthenticationDataBuilder")
public class AuthenticationDataBuilder
extends at.gv.egiz.eaaf.core.impl.idp.auth.builder.AbstractAuthenticationDataBuilder
Modifier and Type | Field | Description |
---|---|---|
protected at.gv.egovernment.moa.id.commons.api.AuthConfiguration |
authConfig |
|
static String |
CONFIGURATION_PROP_FOREIGN_BPK_ENC_KEYS |
|
protected LoALevelMapper |
loaLevelMapper |
Constructor | Description |
---|---|
AuthenticationDataBuilder() |
Modifier and Type | Method | Description |
---|---|---|
protected at.gv.egiz.eaaf.core.api.idp.IAuthData |
buildDeprecatedAuthData(at.gv.egiz.eaaf.core.api.IRequest pendingReq) |
|
protected at.gv.egiz.eaaf.core.impl.data.Pair<String,String> |
buildOAspecificbPK(at.gv.egiz.eaaf.core.api.IRequest pendingReq,
at.gv.egiz.eaaf.core.impl.idp.AuthenticationData authData) |
|
protected at.gv.egiz.eaaf.core.api.idp.auth.data.IIdentityLink |
buildOAspecificIdentityLink(at.gv.egiz.eaaf.core.api.idp.ISPConfiguration spConfig,
at.gv.egiz.eaaf.core.api.idp.auth.data.IIdentityLink idl,
String bPK,
String bPKType) |
|
protected void |
buildServiceSpecificAuthenticationData(at.gv.egiz.eaaf.core.api.idp.IAuthData authData,
at.gv.egiz.eaaf.core.api.IRequest pendingReq) |
|
protected at.gv.egiz.eaaf.core.api.idp.IAuthData |
getAuthDataInstance(at.gv.egiz.eaaf.core.api.IRequest pendingReq) |
|
protected at.gv.egiz.eaaf.core.impl.data.Pair<String,String> |
getbaseIDFromSZR(at.gv.egiz.eaaf.core.impl.idp.AuthenticationData authData,
String notValidbPK,
String notValidbPKType) |
|
protected at.gv.egiz.eaaf.core.impl.data.Pair<String,String> |
getEncryptedbPKFromPVPAttribute(at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer authProcessDataContainer,
at.gv.egiz.eaaf.core.impl.idp.AuthenticationData authData,
at.gv.egiz.eaaf.core.api.idp.ISPConfiguration spConfig) |
Add encrypted bPKs from PVP Attribute 'ENC_BPK_LIST_NAME', which could be exist in
MOASession as 'GenericData'
|
protected boolean |
matchsReceivedbPKToOnlineApplication(at.gv.egiz.eaaf.core.api.idp.ISPConfiguration oaParam,
String bPKType) |
public static final String CONFIGURATION_PROP_FOREIGN_BPK_ENC_KEYS
@Autowired protected at.gv.egovernment.moa.id.commons.api.AuthConfiguration authConfig
@Autowired protected LoALevelMapper loaLevelMapper
protected at.gv.egiz.eaaf.core.api.idp.IAuthData buildDeprecatedAuthData(at.gv.egiz.eaaf.core.api.IRequest pendingReq) throws at.gv.egiz.eaaf.core.exceptions.EAAFException
buildDeprecatedAuthData
in class at.gv.egiz.eaaf.core.impl.idp.auth.builder.AbstractAuthenticationDataBuilder
at.gv.egiz.eaaf.core.exceptions.EAAFException
protected at.gv.egiz.eaaf.core.impl.data.Pair<String,String> getbaseIDFromSZR(at.gv.egiz.eaaf.core.impl.idp.AuthenticationData authData, String notValidbPK, String notValidbPKType)
getbaseIDFromSZR
in class at.gv.egiz.eaaf.core.impl.idp.auth.builder.AbstractAuthenticationDataBuilder
authData
- notValidbPK
- notValidbPKType
- protected at.gv.egiz.eaaf.core.impl.data.Pair<String,String> getEncryptedbPKFromPVPAttribute(at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer authProcessDataContainer, at.gv.egiz.eaaf.core.impl.idp.AuthenticationData authData, at.gv.egiz.eaaf.core.api.idp.ISPConfiguration spConfig) throws at.gv.egiz.eaaf.core.exceptions.EAAFBuilderException
session.getGenericDataFromSession(PVPConstants.ENC_BPK_LIST_NAME, String.class)
to authData
getEncryptedbPKFromPVPAttribute
in class at.gv.egiz.eaaf.core.impl.idp.auth.builder.AbstractAuthenticationDataBuilder
authProcessDataContainer
- MOASession, but never nullauthData
- AuthenticationData DAOspConfig
- Service-Provider configurationnull
if no attribute exists or can not decryptedat.gv.egovernment.moa.id.commons.api.exceptions.ConfigurationException
at.gv.egiz.eaaf.core.exceptions.EAAFBuilderException
protected at.gv.egiz.eaaf.core.api.idp.auth.data.IIdentityLink buildOAspecificIdentityLink(at.gv.egiz.eaaf.core.api.idp.ISPConfiguration spConfig, at.gv.egiz.eaaf.core.api.idp.auth.data.IIdentityLink idl, String bPK, String bPKType) throws at.gv.egiz.eaaf.core.exceptions.EAAFConfigurationException, at.gv.egiz.eaaf.core.exceptions.XPathException, DOMException, at.gv.egiz.eaaf.core.exceptions.EAAFParserException
buildOAspecificIdentityLink
in class at.gv.egiz.eaaf.core.impl.idp.auth.builder.AbstractAuthenticationDataBuilder
at.gv.egiz.eaaf.core.exceptions.EAAFConfigurationException
at.gv.egiz.eaaf.core.exceptions.XPathException
DOMException
at.gv.egiz.eaaf.core.exceptions.EAAFParserException
protected at.gv.egiz.eaaf.core.impl.data.Pair<String,String> buildOAspecificbPK(at.gv.egiz.eaaf.core.api.IRequest pendingReq, at.gv.egiz.eaaf.core.impl.idp.AuthenticationData authData) throws at.gv.egiz.eaaf.core.exceptions.EAAFBuilderException
buildOAspecificbPK
in class at.gv.egiz.eaaf.core.impl.idp.auth.builder.AbstractAuthenticationDataBuilder
at.gv.egiz.eaaf.core.exceptions.EAAFBuilderException
protected boolean matchsReceivedbPKToOnlineApplication(at.gv.egiz.eaaf.core.api.idp.ISPConfiguration oaParam, String bPKType)
matchsReceivedbPKToOnlineApplication
in class at.gv.egiz.eaaf.core.impl.idp.auth.builder.AbstractAuthenticationDataBuilder
protected at.gv.egiz.eaaf.core.api.idp.IAuthData getAuthDataInstance(at.gv.egiz.eaaf.core.api.IRequest pendingReq) throws at.gv.egiz.eaaf.core.exceptions.EAAFException
getAuthDataInstance
in class at.gv.egiz.eaaf.core.impl.idp.auth.builder.AbstractAuthenticationDataBuilder
at.gv.egiz.eaaf.core.exceptions.EAAFException
protected void buildServiceSpecificAuthenticationData(at.gv.egiz.eaaf.core.api.idp.IAuthData authData, at.gv.egiz.eaaf.core.api.IRequest pendingReq) throws at.gv.egiz.eaaf.core.exceptions.EAAFException
buildServiceSpecificAuthenticationData
in class at.gv.egiz.eaaf.core.impl.idp.auth.builder.AbstractAuthenticationDataBuilder
at.gv.egiz.eaaf.core.exceptions.EAAFException
Copyright © 2019. All rights reserved.