public class AuthenticationSession extends Object implements Serializable, at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
IAuthenticationSession
interface, which could be stored into a
AuthenticationSession databaseModifier and Type | Field and Description |
---|---|
static String |
REGISTERANDORDNR_PREFIX_ |
static String |
TARGET_PREFIX_ |
Constructor and 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 and 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.egovernment.moa.id.commons.api.data.IIdentityLink |
getIdentityLink() |
String |
getIssueInstant() |
String |
getMandateReferenceValue() |
at.gv.egovernment.moa.id.commons.api.data.IMISMandate |
getMISMandate() |
String |
getMISSessionID() |
String |
getQAALevel() |
boolean |
getSAMLAttributeGebeORwbpk() |
Date |
getSessionCreated() |
String |
getSessionID() |
iaik.x509.X509Certificate |
getSignerCertificate() |
at.gv.egovernment.moa.id.commons.api.data.IVerifiyXMLSignatureResponse |
getXMLVerifySignatureResponse() |
boolean |
isAuthenticated() |
boolean |
isForeigner() |
boolean |
isMandateUsed() |
boolean |
isOW() |
void |
setAuthBlock(String authBlock) |
void |
setAuthBlockTokken(String authBlockTokken) |
void |
setAuthenticated(boolean authenticated) |
void |
setBkuURL(String bkuURL) |
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.egovernment.moa.id.commons.api.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 |
setSessionID(String sessionId) |
void |
setSignerCertificate(iaik.x509.X509Certificate signerCertificate) |
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.egovernment.moa.id.commons.api.data.IAuthenticationSession
public void setAuthenticated(boolean authenticated)
setAuthenticated
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
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.egovernment.moa.id.commons.api.data.IIdentityLink getIdentityLink()
getIdentityLink
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public String getSessionID()
getSessionID
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public void setIdentityLink(at.gv.egovernment.moa.id.commons.api.data.IIdentityLink identityLink)
setIdentityLink
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public void setSessionID(String sessionId)
setSessionID
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.egovernment.moa.id.commons.api.data.IAuthenticationSession
public void setIssueInstant(String issueInstant)
setIssueInstant
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
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.egovernment.moa.id.commons.api.data.IAuthenticationSession
public boolean isMandateUsed()
isMandateUsed
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
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.egovernment.moa.id.commons.api.data.IAuthenticationSession
public void setForeigner(boolean isForeigner)
setForeigner
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
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.egovernment.moa.id.commons.api.data.IAuthenticationSession
public void setOW(boolean isOW)
setOW
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
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.egovernment.moa.id.commons.api.data.IAuthenticationSession
public void setQAALevel(String qAALevel)
setQAALevel
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public Date getSessionCreated()
getSessionCreated
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public Map<String,Object> getGenericSessionDataStorage()
getGenericSessionDataStorage
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public Object getGenericDataFromSession(String key)
getGenericDataFromSession
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public <T> T getGenericDataFromSession(String key, Class<T> clazz)
getGenericDataFromSession
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
public void setGenericDataToSession(String key, Object object) throws at.gv.egovernment.moa.id.commons.api.exceptions.SessionDataStorageException
setGenericDataToSession
in interface at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession
at.gv.egovernment.moa.id.commons.api.exceptions.SessionDataStorageException
Copyright © 2017. All rights reserved.