public class AuthenticationSession extends Object implements Serializable
AuthenticationServer API calls.| Modifier and Type | Field and Description |
|---|---|
static String |
REGISTERANDORDNR_PREFIX_ |
static String |
TARGET_PREFIX_ |
| Constructor and Description |
|---|
AuthenticationSession(String id,
Date created)
Constructor for AuthenticationSession.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthBlock()
Returns the authBlock.
|
String |
getAuthBlockTokken() |
String |
getBkuURL()
Returns the BKU URL.
|
byte[] |
getEncodedSignerCertificate() |
List<ExtendedSAMLAttribute> |
getExtendedSAMLAttributesAUTH()
Returns the SAML Attributes to be appended to the AUTHBlock.
|
List<ExtendedSAMLAttribute> |
getExtendedSAMLAttributesOA()
Returns the SAML Attributes to be appended to the SAML assertion delivered to the online
application.
|
Object |
getGenericDataFromSession(String key)
Returns a generic session-data object with is stored with a specific identifier
|
<T> T |
getGenericDataFromSession(String key,
Class<T> clazz)
Returns a generic session-data object with is stored with a specific identifier
|
Map<String,Object> |
getGenericSessionDataStorage() |
IdentityLink |
getIdentityLink()
Returns the identityLink.
|
String |
getIssueInstant()
Returns the issuing time of the AUTH-Block SAML assertion.
|
String |
getMandateReferenceValue() |
MISMandate |
getMISMandate() |
String |
getMISSessionID()
Returns the MIS session ID
|
String |
getQAALevel()
eIDAS QAA level
|
boolean |
getSAMLAttributeGebeORwbpk()
Returns the boolean value for either a target or a wbPK is provided as SAML Attribute in the
SAML Assertion or not.
|
Date |
getSessionCreated() |
String |
getSessionID()
Returns the sessionID.
|
iaik.x509.X509Certificate |
getSignerCertificate() |
VerifyXMLSignatureResponse |
getXMLVerifySignatureResponse() |
boolean |
isAuthenticated() |
boolean |
isForeigner() |
boolean |
isMandateUsed() |
boolean |
isOW() |
void |
setAuthBlock(String authBlock)
Sets the authBlock.
|
void |
setAuthBlockTokken(String authBlockTokken) |
void |
setAuthenticated(boolean authenticated) |
void |
setBkuURL(String bkuURL)
Sets the bkuURL
|
void |
setExtendedSAMLAttributesAUTH(List<ExtendedSAMLAttribute> extendedSAMLAttributesAUTH)
Sets the SAML Attributes to be appended to the AUTHBlock.
|
void |
setExtendedSAMLAttributesOA(List<ExtendedSAMLAttribute> extendedSAMLAttributesOA)
Sets the SAML Attributes to be appended to the SAML assertion delivered to the online
application.
|
void |
setForeigner(boolean isForeigner) |
void |
setGenericDataToSession(String key,
Object object)
Store a generic data-object to session with a specific identifier
|
void |
setIdentityLink(IdentityLink identityLink)
Sets the identityLink.
|
void |
setIssueInstant(String issueInstant)
Sets the issuing time of the AUTH-Block SAML assertion.
|
void |
setMandateReferenceValue(String mandateReferenceValue) |
void |
setMISMandate(MISMandate mandate) |
void |
setMISSessionID(String misSessionID) |
void |
setOW(boolean isOW) |
void |
setQAALevel(String qAALevel)
set QAA level in eIDAS form
|
void |
setSAMLAttributeGebeORwbpk(boolean samlAttributeGebeORwbpk)
Sets the boolean value for either a target or a wbPK is provided as SAML Attribute in the
SAML Assertion or not.
|
void |
setSessionID(String sessionId)
Sets the sessionID.
|
void |
setSignerCertificate(iaik.x509.X509Certificate signerCertificate) |
void |
setUseMandate(String useMandate) |
void |
setUseMandates(boolean useMandates) |
void |
setXMLVerifySignatureResponse(VerifyXMLSignatureResponse xMLVerifySignatureResponse) |
public static final String TARGET_PREFIX_
public static final String REGISTERANDORDNR_PREFIX_
public boolean isAuthenticated()
public void setAuthenticated(boolean authenticated)
public iaik.x509.X509Certificate getSignerCertificate()
public byte[] getEncodedSignerCertificate()
public void setSignerCertificate(iaik.x509.X509Certificate signerCertificate)
public IdentityLink getIdentityLink()
public String getSessionID()
public void setIdentityLink(IdentityLink identityLink)
identityLink - The identityLink to setpublic void setSessionID(String sessionId)
sessionId - The sessionID to setpublic String getBkuURL()
public void setBkuURL(String bkuURL)
bkuURL - The BKU URL to setpublic String getAuthBlock()
public void setAuthBlock(String authBlock)
authBlock - The authBlock to setpublic List<ExtendedSAMLAttribute> getExtendedSAMLAttributesAUTH()
null.null.public void setExtendedSAMLAttributesAUTH(List<ExtendedSAMLAttribute> extendedSAMLAttributesAUTH)
extendedSAMLAttributesAUTH - The SAML Attributes to be appended to the AUTHBlock.public List<ExtendedSAMLAttribute> getExtendedSAMLAttributesOA()
null.public void setExtendedSAMLAttributesOA(List<ExtendedSAMLAttribute> extendedSAMLAttributesOA)
extendedSAMLAttributesOA - The SAML Attributes to be appended to the SAML assertion delivered to the online
application.public boolean getSAMLAttributeGebeORwbpk()
public void setSAMLAttributeGebeORwbpk(boolean samlAttributeGebeORwbpk)
samlAttributeGebeORwbpk - The boolean for value either a target or wbPK is provided as SAML Attribute in the
SAML Assertion or not.public String getIssueInstant()
public void setIssueInstant(String issueInstant)
issueInstant - The issueInstant to set.public void setUseMandate(String useMandate)
useMandate - indicates if mandate is used or notpublic void setUseMandates(boolean useMandates)
public boolean isMandateUsed()
public void setMISSessionID(String misSessionID)
misSessionID - indicates the MIS session IDpublic String getMISSessionID()
public String getMandateReferenceValue()
public void setMandateReferenceValue(String mandateReferenceValue)
mandateReferenceValue - the mandateReferenceValue to setpublic boolean isForeigner()
public void setForeigner(boolean isForeigner)
public VerifyXMLSignatureResponse getXMLVerifySignatureResponse()
public void setXMLVerifySignatureResponse(VerifyXMLSignatureResponse xMLVerifySignatureResponse)
public MISMandate getMISMandate()
public void setMISMandate(MISMandate mandate)
public boolean isOW()
public void setOW(boolean isOW)
isOW - the isOW to setpublic String getAuthBlockTokken()
public void setAuthBlockTokken(String authBlockTokken)
authBlockTokken - the authBlockTokken to setpublic String getQAALevel()
public void setQAALevel(String qAALevel)
qAALevel - the qAALevel to setpublic Date getSessionCreated()
public Object getGenericDataFromSession(String key)
key - The specific identifier of the session-data objectpublic <T> T getGenericDataFromSession(String key, Class<T> clazz)
key - The specific identifier of the session-data objectclazz - The class type which is stored with this keypublic void setGenericDataToSession(String key, Object object) throws at.gv.egovernment.moa.id.commons.api.exceptions.SessionDataStorageException
key - Identifier for this data-objectobject - Generic data-object which should be stored. This data-object had to be implement the 'java.io.Serializable' interfaceat.gv.egovernment.moa.id.commons.api.exceptions.SessionDataStorageException - Error message if the data-object can not stored to generic session-data storageCopyright © 2016. All rights reserved.