public class AuthenticationData extends Object implements IAuthData, Serializable
Modifier and Type | Field and Description |
---|---|
static String |
IDENTITY_LINK_DATE_FORMAT |
Constructor and Description |
---|
AuthenticationData() |
Modifier and Type | Method and Description |
---|---|
void |
addAuthenticationRole(AuthenticationRole role) |
String |
getAuthBlock() |
List<AuthenticationRole> |
getAuthenticationRoles() |
String |
getBkuURL()
Returns the BKU URL.
|
String |
getBPK()
Returns the bPK.
|
String |
getBPKType() |
String |
getCcc()
CountryCode of the citizen which is identified and authenticated
|
Date |
getDateOfBirth()
Returns the dateOfBirth.
|
String |
getEIDASQAALevel() |
List<String> |
getEncbPKList() |
String |
getFamilyName()
Returns the familyName.
|
String |
getFormatedDateOfBirth() |
<T> T |
getGenericData(String key,
Class<T> clazz)
Returns a generic data-object with is stored with a specific identifier
|
String |
getGivenName()
Returns the givenName.
|
String |
getIdentificationType()
Holds the type of the baseID
|
String |
getIdentificationValue()
Holds the baseID of a citizen
|
at.gv.egovernment.moa.id.commons.api.data.IIdentityLink |
getIdentityLink() |
Date |
getIssueInstant()
Returns the issueInstant.
|
String |
getIssueInstantString()
Returns the issueInstant.
|
String |
getIssuer()
Returns the issuer.
|
Element |
getMandate() |
String |
getMandateReferenceValue() |
at.gv.egovernment.moa.id.commons.api.data.IMISMandate |
getMISMandate() |
String |
getNameID() |
String |
getNameIDFormat() |
String |
getPublicAuthorityCode()
Returns the publicAuthorityCode.
|
String |
getPvpAttribute_OU() |
String |
getQAALevel() |
String |
getSessionIndex() |
byte[] |
getSignerCertificate() |
Date |
getSsoSessionValidTo() |
boolean |
isBusinessService() |
boolean |
isForeigner() |
boolean |
isPublicAuthority()
Returns the publicAuthority.
|
boolean |
isQualifiedCertificate()
Returns the qualifiedCertificate.
|
boolean |
isSsoSession() |
boolean |
isUseMandate() |
void |
setAuthBlock(String authBlock) |
void |
setBkuURL(String url)
Sets the bkuURL
|
void |
setBPK(String bPK)
Sets the bPK.
|
void |
setBPKType(String bPKType) |
void |
setCcc(String ccc) |
void |
setDateOfBirth(Date dateOfBirth)
Sets the dateOfBirth.
|
void |
setDateOfBirth(String dateOfBirth) |
void |
setEncbPKList(List<String> encbPKList) |
void |
setFamilyName(String familyName)
Sets the familyName.
|
void |
setForeigner(boolean foreigner) |
void |
setGenericData(String key,
Object object)
Store a generic data-object to session with a specific identifier
|
void |
setGivenName(String givenName)
Sets the givenName.
|
void |
setIdentificationType(String identificationType)
Sets the identificationType.
|
void |
setIdentificationValue(String identificationValue)
Sets the identificationValue.
|
void |
setIdentityLink(at.gv.egovernment.moa.id.commons.api.data.IIdentityLink identityLink) |
void |
setIsBusinessService(boolean flag) |
void |
setIssueInstant(Date date) |
void |
setIssuer(String issuer)
Sets the issuer.
|
void |
setMandateReferenceValue(String mandateReferenceValue) |
void |
setMISMandate(at.gv.egovernment.moa.id.commons.api.data.IMISMandate mandate) |
void |
setNameID(String nameID) |
void |
setNameIDFormat(String nameIDFormat) |
void |
setPublicAuthority(boolean publicAuthority)
Sets the publicAuthority.
|
void |
setPublicAuthorityCode(String publicAuthorityIdentification)
Sets the publicAuthorityCode.
|
void |
setPvpAttribute_OU(String pvpAttribute_OU) |
void |
setQAALevel(String qAALevel)
Store QAA level in eIDAS format to authentication Data
|
void |
setQualifiedCertificate(boolean qualifiedCertificate)
Sets the qualifiedCertificate.
|
void |
setSessionIndex(String sessionIndex) |
void |
setSignerCertificate(byte[] signerCertificate) |
void |
setSsoSession(boolean ssoSession) |
void |
setSsoSessionValidTo(Date ssoSessionValidTo) |
void |
setUseMandate(boolean useMandate) |
public static final String IDENTITY_LINK_DATE_FORMAT
public boolean isPublicAuthority()
isPublicAuthority
in interface IAuthData
public String getPublicAuthorityCode()
getPublicAuthorityCode
in interface IAuthData
public boolean isQualifiedCertificate()
isQualifiedCertificate
in interface IAuthData
public String getBPK()
public void setPublicAuthority(boolean publicAuthority)
publicAuthority
- The publicAuthority to setpublic void setPublicAuthorityCode(String publicAuthorityIdentification)
publicAuthorityIdentification
- The publicAuthorityCode to setpublic void setQualifiedCertificate(boolean qualifiedCertificate)
qualifiedCertificate
- The qualifiedCertificate to setpublic void setBPK(String bPK)
bPK
- The bPK to setpublic Date getDateOfBirth()
getDateOfBirth
in interface IAuthData
public String getFormatedDateOfBirth()
getFormatedDateOfBirth
in interface IAuthData
public String getFamilyName()
getFamilyName
in interface IAuthData
public String getGivenName()
getGivenName
in interface IAuthData
public String getIdentificationValue()
getIdentificationValue
in interface IAuthData
public String getIdentificationType()
getIdentificationType
in interface IAuthData
public String getIssueInstantString()
public Date getIssueInstant()
getIssueInstant
in interface IAuthData
public void setIssueInstant(Date date)
public String getIssuer()
public String getBkuURL()
public void setDateOfBirth(Date dateOfBirth)
dateOfBirth
- The dateOfBirth to setpublic void setDateOfBirth(String dateOfBirth)
public void setFamilyName(String familyName)
familyName
- The familyName to setpublic void setGivenName(String givenName)
givenName
- The givenName to setpublic void setIdentificationValue(String identificationValue)
identificationValue
- The identificationValue to setpublic void setIdentificationType(String identificationType)
identificationType
- The identificationType to setpublic void setIssuer(String issuer)
issuer
- The issuer to setpublic void setBkuURL(String url)
url
- The BKU URL to setpublic String getBPKType()
getBPKType
in interface IAuthData
public void setBPKType(String bPKType)
public at.gv.egovernment.moa.id.commons.api.data.IIdentityLink getIdentityLink()
getIdentityLink
in interface IAuthData
public void setIdentityLink(at.gv.egovernment.moa.id.commons.api.data.IIdentityLink identityLink)
identityLink
- the identityLink to setpublic byte[] getSignerCertificate()
getSignerCertificate
in interface IAuthData
public void setSignerCertificate(byte[] signerCertificate)
signerCertificate
- the signerCertificate to setpublic String getAuthBlock()
getAuthBlock
in interface IAuthData
public void setAuthBlock(String authBlock)
authBlock
- the authBlock to setpublic at.gv.egovernment.moa.id.commons.api.data.IMISMandate getMISMandate()
getMISMandate
in interface IAuthData
public Element getMandate()
getMandate
in interface IAuthData
public void setMISMandate(at.gv.egovernment.moa.id.commons.api.data.IMISMandate mandate)
mandate
- the mandate to setpublic boolean isUseMandate()
isUseMandate
in interface IAuthData
public void setUseMandate(boolean useMandate)
useMandate
- the useMandate to setpublic String getQAALevel()
getQAALevel
in interface IAuthData
public String getEIDASQAALevel()
getEIDASQAALevel
in interface IAuthData
public boolean isForeigner()
isForeigner
in interface IAuthData
public void setForeigner(boolean foreigner)
foreigner
- the foreigner to setpublic void setQAALevel(String qAALevel)
qAALevel
- the qAALevel to setAssertionAttributeExtractorExeption
public boolean isSsoSession()
isSsoSession
in interface IAuthData
public void setSsoSession(boolean ssoSession)
ssoSession
- the ssoSession to setpublic String getMandateReferenceValue()
getMandateReferenceValue
in interface IAuthData
public void setMandateReferenceValue(String mandateReferenceValue)
mandateReferenceValue
- the mandateReferenceValue to setpublic String getCcc()
public void setCcc(String ccc)
ccc
- the ccc to setpublic String getSessionIndex()
getSessionIndex
in interface IAuthData
public void setSessionIndex(String sessionIndex)
sessionIndex
- the sessionIndex to setpublic void setNameID(String nameID)
nameID
- the nameID to setpublic String getNameIDFormat()
getNameIDFormat
in interface IAuthData
public void setNameIDFormat(String nameIDFormat)
nameIDFormat
- the nameIDFormat to setpublic Date getSsoSessionValidTo()
getSsoSessionValidTo
in interface IAuthData
public void setSsoSessionValidTo(Date ssoSessionValidTo)
ssoSessionValidTo
- the ssoSessionValidTo to setpublic List<String> getEncbPKList()
getEncbPKList
in interface IAuthData
public void setEncbPKList(List<String> encbPKList)
encbPKList
- the encbPKList to setpublic List<AuthenticationRole> getAuthenticationRoles()
getAuthenticationRoles
in interface IAuthData
public void addAuthenticationRole(AuthenticationRole role)
roles
- the roles to setpublic String getPvpAttribute_OU()
getPvpAttribute_OU
in interface IAuthData
public void setPvpAttribute_OU(String pvpAttribute_OU)
pvpAttribute_OU
- the pvpAttribute_OU to setpublic boolean isBusinessService()
isBusinessService
in interface IAuthData
public void setIsBusinessService(boolean flag)
public <T> T getGenericData(String key, Class<T> clazz)
getGenericData
in interface IAuthData
key
- The specific identifier of the data objectclazz
- The class type which is stored with this keypublic void setGenericData(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 © 2017. All rights reserved.