at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
, at.gv.egiz.eaaf.core.api.idp.EAAFAuthProcessDataConstants
, at.gv.egovernment.moa.id.commons.api.data.AuthProzessDataConstants
, at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
, Serializable
public class AuthenticationSession extends Object implements Serializable, at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession, at.gv.egovernment.moa.id.commons.api.data.AuthProzessDataConstants
IAuthenticationSession
interface, which could be stored into a
AuthenticationSession databaseModifier and Type | Field | Description |
---|---|---|
static String |
REGISTERANDORDNR_PREFIX_ |
|
static String |
TARGET_PREFIX_ |
FLAG_SAMLATTRIBUTEGEBEORWBPK, VALUE_AUTHBLOCK, VALUE_AUTNBLOCKTOKKEN, VALUE_BKUURL, VALUE_EXTENTEDSAMLATTRAUTH, VALUE_EXTENTEDSAMLATTROA, VALUE_IDENTITYLINK, VALUE_MISREFVALUE, VALUE_MISSESSIONID, VALUE_SIGNER_CERT, VALUE_VERIFYSIGRESP
Constructor | Description |
---|---|
AuthenticationSession(String id,
Date created) |
Constructor for AuthenticationSession.
|
AuthenticationSession(String id,
Date now,
at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession moaSession) |
Modifier and Type | Method | Description |
---|---|---|
String |
getAuthBlock() |
|
String |
getAuthBlockTokken() |
|
String |
getBkuURL() |
|
byte[] |
getEncodedSignerCertificate() |
|
List<at.gv.egovernment.moa.id.commons.api.data.ExtendedSAMLAttribute> |
getExtendedSAMLAttributesAUTH() |
|
List<at.gv.egovernment.moa.id.commons.api.data.ExtendedSAMLAttribute> |
getExtendedSAMLAttributesOA() |
|
Object |
getGenericDataFromSession(String key) |
|
<T> T |
getGenericDataFromSession(String key,
Class<T> clazz) |
|
Map<String,Object> |
getGenericSessionDataStorage() |
|
at.gv.egiz.eaaf.core.api.idp.auth.data.IIdentityLink |
getIdentityLink() |
|
String |
getIssueInstant() |
|
Map<String,Object> |
getKeyValueRepresentationFromAuthSession() |
|
String |
getMandateReferenceValue() |
|
at.gv.egovernment.moa.id.commons.api.data.IMISMandate |
getMISMandate() |
|
String |
getMISSessionID() |
|
String |
getQAALevel() |
|
boolean |
getSAMLAttributeGebeORwbpk() |
|
Date |
getSessionCreated() |
|
iaik.x509.X509Certificate |
getSignerCertificate() |
|
String |
getSSOSessionID() |
|
at.gv.egovernment.moa.id.commons.api.data.IVerifiyXMLSignatureResponse |
getXMLVerifySignatureResponse() |
|
boolean |
isAuthenticated() |
|
boolean |
isEIDProcess() |
|
boolean |
isForeigner() |
|
boolean |
isMandateUsed() |
|
boolean |
isOW() |
|
void |
setAuthBlock(String authBlock) |
|
void |
setAuthBlockTokken(String authBlockTokken) |
|
void |
setAuthenticated(boolean authenticated) |
|
void |
setBkuURL(String bkuURL) |
|
void |
setEIDProcess(boolean value) |
|
void |
setExtendedSAMLAttributesAUTH(List<at.gv.egovernment.moa.id.commons.api.data.ExtendedSAMLAttribute> extendedSAMLAttributesAUTH) |
|
void |
setExtendedSAMLAttributesOA(List<at.gv.egovernment.moa.id.commons.api.data.ExtendedSAMLAttribute> extendedSAMLAttributesOA) |
|
void |
setForeigner(boolean isForeigner) |
|
void |
setGenericDataToSession(String key,
Object object) |
|
void |
setIdentityLink(at.gv.egiz.eaaf.core.api.idp.auth.data.IIdentityLink identityLink) |
|
void |
setIssueInstant(String issueInstant) |
|
void |
setMandateReferenceValue(String mandateReferenceValue) |
|
void |
setMISMandate(at.gv.egovernment.moa.id.commons.api.data.IMISMandate mandate) |
|
void |
setMISSessionID(String misSessionID) |
|
void |
setOW(boolean isOW) |
|
void |
setQAALevel(String qAALevel) |
|
void |
setSAMLAttributeGebeORwbpk(boolean samlAttributeGebeORwbpk) |
|
void |
setSignerCertificate(iaik.x509.X509Certificate signerCertificate) |
|
void |
setSSOSessionID(String sessionId) |
|
void |
setUseMandate(String useMandate) |
|
void |
setUseMandates(boolean useMandates) |
|
void |
setXMLVerifySignatureResponse(at.gv.egovernment.moa.id.commons.api.data.IVerifiyXMLSignatureResponse xMLVerifySignatureResponse) |
public static final String TARGET_PREFIX_
public static final String REGISTERANDORDNR_PREFIX_
public AuthenticationSession(String id, Date created)
id
- Session IDpublic boolean isAuthenticated()
isAuthenticated
in interface at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
public void setAuthenticated(boolean authenticated)
setAuthenticated
in interface at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
public iaik.x509.X509Certificate getSignerCertificate()
getSignerCertificate
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public byte[] getEncodedSignerCertificate()
getEncodedSignerCertificate
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public void setSignerCertificate(iaik.x509.X509Certificate signerCertificate)
setSignerCertificate
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public at.gv.egiz.eaaf.core.api.idp.auth.data.IIdentityLink getIdentityLink()
getIdentityLink
in interface at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
public String getSSOSessionID()
getSSOSessionID
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public void setIdentityLink(at.gv.egiz.eaaf.core.api.idp.auth.data.IIdentityLink identityLink)
setIdentityLink
in interface at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
public void setSSOSessionID(String sessionId)
setSSOSessionID
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public String getBkuURL()
getBkuURL
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public void setBkuURL(String bkuURL)
setBkuURL
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public String getAuthBlock()
getAuthBlock
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public void setAuthBlock(String authBlock)
setAuthBlock
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public List<at.gv.egovernment.moa.id.commons.api.data.ExtendedSAMLAttribute> getExtendedSAMLAttributesAUTH()
getExtendedSAMLAttributesAUTH
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public void setExtendedSAMLAttributesAUTH(List<at.gv.egovernment.moa.id.commons.api.data.ExtendedSAMLAttribute> extendedSAMLAttributesAUTH)
setExtendedSAMLAttributesAUTH
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public List<at.gv.egovernment.moa.id.commons.api.data.ExtendedSAMLAttribute> getExtendedSAMLAttributesOA()
getExtendedSAMLAttributesOA
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public void setExtendedSAMLAttributesOA(List<at.gv.egovernment.moa.id.commons.api.data.ExtendedSAMLAttribute> extendedSAMLAttributesOA)
setExtendedSAMLAttributesOA
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public boolean getSAMLAttributeGebeORwbpk()
getSAMLAttributeGebeORwbpk
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public void setSAMLAttributeGebeORwbpk(boolean samlAttributeGebeORwbpk)
setSAMLAttributeGebeORwbpk
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public String getIssueInstant()
getIssueInstant
in interface at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
public void setIssueInstant(String issueInstant)
setIssueInstant
in interface at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
public void setUseMandate(String useMandate)
setUseMandate
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public void setUseMandates(boolean useMandates)
setUseMandates
in interface at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
public boolean isMandateUsed()
isMandateUsed
in interface at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
public void setMISSessionID(String misSessionID)
setMISSessionID
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public String getMISSessionID()
getMISSessionID
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public String getMandateReferenceValue()
getMandateReferenceValue
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public void setMandateReferenceValue(String mandateReferenceValue)
setMandateReferenceValue
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public boolean isForeigner()
isForeigner
in interface at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
public void setForeigner(boolean isForeigner)
setForeigner
in interface at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
public at.gv.egovernment.moa.id.commons.api.data.IVerifiyXMLSignatureResponse getXMLVerifySignatureResponse()
getXMLVerifySignatureResponse
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public void setXMLVerifySignatureResponse(at.gv.egovernment.moa.id.commons.api.data.IVerifiyXMLSignatureResponse xMLVerifySignatureResponse)
setXMLVerifySignatureResponse
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public at.gv.egovernment.moa.id.commons.api.data.IMISMandate getMISMandate()
getMISMandate
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public void setMISMandate(at.gv.egovernment.moa.id.commons.api.data.IMISMandate mandate)
setMISMandate
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public boolean isOW()
isOW
in interface at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
public void setOW(boolean isOW)
setOW
in interface at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
public String getAuthBlockTokken()
getAuthBlockTokken
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public void setAuthBlockTokken(String authBlockTokken)
setAuthBlockTokken
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public String getQAALevel()
getQAALevel
in interface at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
public void setQAALevel(String qAALevel)
setQAALevel
in interface at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
public Date getSessionCreated()
getSessionCreated
in interface at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
public Map<String,Object> getGenericSessionDataStorage()
getGenericSessionDataStorage
in interface at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
public Object getGenericDataFromSession(String key)
getGenericDataFromSession
in interface at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
public <T> T getGenericDataFromSession(String key, Class<T> clazz)
getGenericDataFromSession
in interface at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
public void setGenericDataToSession(String key, Object object) throws at.gv.egiz.eaaf.core.exceptions.EAAFStorageException
setGenericDataToSession
in interface at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
at.gv.egiz.eaaf.core.exceptions.EAAFStorageException
public Map<String,Object> getKeyValueRepresentationFromAuthSession()
getKeyValueRepresentationFromAuthSession
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public boolean isEIDProcess()
isEIDProcess
in interface at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
public void setEIDProcess(boolean value)
setEIDProcess
in interface at.gv.egiz.eaaf.core.api.idp.auth.data.IAuthProcessDataContainer
Copyright © 2019. All rights reserved.