InfoboxValidatorParams
public class InfoboxValidatorParamsImpl extends Object implements InfoboxValidatorParams
Modifier and Type | Field | Description |
---|---|---|
protected Element |
applicationSpecificParams_ |
Application specific parameters.
|
protected String |
bkuURL_ |
The URL of the BKU.
|
protected boolean |
businessApplication_ |
Specifies whether the current online application is a business or a public application.
|
protected String |
dateOfBirth_ |
The date of birth from the identity link.
|
protected String |
domainIdentifier_ |
The domain identifier (register and number in the register parameter).
|
protected String |
familyName_ |
The family name from the identity link.
|
protected String |
givenName_ |
The given name from the identity link.
|
protected boolean |
hideStammzahl_ |
Indicates whether source pins (
Stammzahl en) must be hidden or not. |
protected String |
identificationType_ |
The identification type.
|
protected String |
identificationValue_ |
The date of identification value.
|
protected Element |
identityLink_ |
The identity link.
|
protected List |
infoboxTokenList_ |
A list of
InfoboxToken objects. |
protected PublicKey[] |
publicKeys_ |
The public keys from the identity link.
|
protected List |
schemaLocations_ |
The locations of schemas that maybe needed for validating infobox tokens.
|
protected String |
target_ |
The target parameter.
|
protected String |
trustProfileID_ |
The ID of the trust profile used for validating certificates.
|
Constructor | Description |
---|---|
InfoboxValidatorParamsImpl() |
Empty constructor.
|
Modifier and Type | Method | Description |
---|---|---|
Element |
getApplicationSpecificParams() |
Returns application specific parameters.
|
String |
getBkuURL() |
Returns the URL of the BKU.
|
boolean |
getBusinessApplication() |
Returns
true if the application is a business
service, otherwise false . |
String |
getDateOfBirth() |
The date of birth from the identity link.
|
String |
getDomainIdentifier() |
Returns the register and number in the register parameter.
|
String |
getFamilyName() |
Returns the family name from the identity link.
|
String |
getGivenName() |
Returns the given name from the identity link.
|
boolean |
getHideStammzahl() |
Indicates whether source pins (
Stammzahl en) should be hidden or not. |
String |
getIdentificationType() |
Returns the type of the identification value
from the identity link.
|
String |
getIdentificationValue() |
Returns he identification value from the identity
link.
|
Element |
getIdentityLink() |
Returns the identity link.
|
List |
getInfoboxTokenList() |
Returns a list of
InfoboxToken
objects. |
PublicKey[] |
getPublicKeys() |
Returns the public keys from the identity link.
|
List |
getSchemaLocations() |
Returns schema location URIs that may be needed by the
validator to parse infobox tokens.
|
String |
getTarget() |
Returns the target parameter.
|
String |
getTrustProfileID() |
Returns the ID of the trust profile to be used for validating
certificates.
|
void |
setApplicationSpecificParams(Element applicationSpecificParams) |
Sets the application specific parameters.
|
void |
setBkuURL(String bkuURL) |
Sets the bku URL.
|
void |
setBusinessApplication(boolean businessApplication) |
Sets the business application parameter.
|
void |
setDateOfBirth(String dateOfBirth) |
Sets the date of birth.
|
void |
setDomainIdentifier(String domainIdentifier) |
Sets the domain identifier (register and number in the register parameter)
|
void |
setFamilyName(String familyName) |
Sets the family name.
|
void |
setGivenName(String givenName) |
Sets the given name.
|
void |
setHideStammzahl(boolean hideStammzahl) |
Sets the
hideStammzahl_ parameter. |
void |
setIdentificationType(String identificationType) |
Sets the identification type.
|
void |
setIdentificationValue(String identificationValue) |
Sets the identification value.
|
void |
setIdentityLink(Element identityLink) |
Sets the identity link.
|
void |
setInfoboxTokenList(List infoboxTokenList) |
Sets the infobox token to be validated.
|
void |
setPublicKeys(PublicKey[] publicKeys) |
Sets the public Keys.
|
void |
setSchemaLocations(List schemaLocations) |
Sets the schema locations.
|
void |
setTarget(String target) |
Sets the target.
|
void |
setTrustProfileID(String trustProfileID) |
Sets the ID of the trust profile used for validating certificates.
|
protected List infoboxTokenList_
InfoboxToken
objects.
The first token in this list is the one to be validated. Each further token
maybe needed to validate this first token.protected String trustProfileID_
protected List schemaLocations_
protected String bkuURL_
protected boolean businessApplication_
protected String target_
protected String domainIdentifier_
protected String familyName_
protected String givenName_
protected String dateOfBirth_
protected String identificationValue_
protected String identificationType_
protected PublicKey[] publicKeys_
protected Element identityLink_
protected boolean hideStammzahl_
Stammzahl
en) must be hidden or not.protected Element applicationSpecificParams_
public InfoboxValidatorParamsImpl()
public List getInfoboxTokenList()
InfoboxValidatorParams
InfoboxToken
objects. The first token in this list is the one to be validated. Each further token
maybe needed to validate this first token.getInfoboxTokenList
in interface InfoboxValidatorParams
InfoboxToken
objects.InfoboxValidatorParams.getInfoboxTokenList()
public String getTrustProfileID()
InfoboxValidatorParams
getTrustProfileID
in interface InfoboxValidatorParams
InfoboxValidatorParams.getTrustProfileID()
public List getSchemaLocations()
InfoboxValidatorParams
Schema
specifying the location
of an XML schema.getSchemaLocations
in interface InfoboxValidatorParams
Schema
objects each of them specifying the
location of an XML schema.InfoboxValidatorParams.getSchemaLocations()
public String getBkuURL()
InfoboxValidatorParams
getBkuURL
in interface InfoboxValidatorParams
InfoboxValidatorParams.getBkuURL()
public String getTarget()
InfoboxValidatorParams
null
in the case of a business service.getTarget
in interface InfoboxValidatorParams
InfoboxValidatorParams.getTarget()
public String getDomainIdentifier()
InfoboxValidatorParams
null
in the case of not a business service.getDomainIdentifier
in interface InfoboxValidatorParams
InfoboxValidatorParams.getDomainIdentifier()
public boolean getBusinessApplication()
InfoboxValidatorParams
true
if the application is a business
service, otherwise false
. This may be useful
for the validating application.getBusinessApplication
in interface InfoboxValidatorParams
True
if the application is a business
service, otherwise false
InfoboxValidatorParams.getBusinessApplication()
public String getFamilyName()
InfoboxValidatorParams
getFamilyName
in interface InfoboxValidatorParams
InfoboxValidatorParams.getFamilyName()
public String getGivenName()
InfoboxValidatorParams
getGivenName
in interface InfoboxValidatorParams
InfoboxValidatorParams.getGivenName()
public String getDateOfBirth()
InfoboxValidatorParams
getDateOfBirth
in interface InfoboxValidatorParams
InfoboxValidatorParams.getDateOfBirth()
public String getIdentificationValue()
InfoboxValidatorParams
Stammzahl
in the case of a public application or the
wbPK
in the case of a business
application. This parameter is only returned
if specified within the config file.getIdentificationValue
in interface InfoboxValidatorParams
InfoboxValidatorParams.getIdentificationValue()
public String getIdentificationType()
InfoboxValidatorParams
getIdentificationType
in interface InfoboxValidatorParams
InfoboxValidatorParams.getIdentificationType()
public PublicKey[] getPublicKeys()
InfoboxValidatorParams
getPublicKeys
in interface InfoboxValidatorParams
InfoboxValidatorParams.getPublicKeys()
public Element getIdentityLink()
InfoboxValidatorParams
getIdentityLink
in interface InfoboxValidatorParams
InfoboxValidatorParams.getIdentityLink()
public boolean getHideStammzahl()
InfoboxValidatorParams
Stammzahl
en) should be hidden or not.
If an online application lying behind MOA-ID is not allowed to get source pins
(Stammzahl
en), any source pins within SAML attributes
returned by the validator must suppressed:getHideStammzahl
is true
, then the validator
MUST hide (replace by an empty string) any source pin (Stammzahl
)
that may be included in a SAML attribute
returned by the validator.getHideStammzahl
in interface InfoboxValidatorParams
true
if source pins (Stammzahl
en) must be hidden,
otherwise false
.InfoboxValidatorParams.getHideStammzahl()
public Element getApplicationSpecificParams()
InfoboxValidatorParams
getApplicationSpecificParams
in interface InfoboxValidatorParams
InfoboxValidatorParams.getApplicationSpecificParams()
public void setApplicationSpecificParams(Element applicationSpecificParams)
applicationSpecificParams
- The application specific parameters to set.public void setBkuURL(String bkuURL)
bkuURL
- The bku URL to set.public void setBusinessApplication(boolean businessApplication)
businessApplication
- The business application parameter to set.
(True
if the application is a business
application, otherwies false
).public void setDateOfBirth(String dateOfBirth)
dateOfBirth
- The date of birth.public void setFamilyName(String familyName)
familyName
- The family name.public void setGivenName(String givenName)
givenName
- The given name.public void setIdentificationType(String identificationType)
identificationType
- The identification type.public void setIdentificationValue(String identificationValue)
identificationValue
- The identification value.public void setIdentityLink(Element identityLink)
identityLink
- The identity link.public void setInfoboxTokenList(List infoboxTokenList)
infoboxTokenList
- A list InfoboxToken
objects.public void setPublicKeys(PublicKey[] publicKeys)
publicKeys
- The public keys.public void setSchemaLocations(List schemaLocations)
schemaLocations
- The schema locations. A list of
Schema
objects.public void setTarget(String target)
target
- The target.public void setDomainIdentifier(String domainIdentifier)
domainIdentifier
- the domainIdentifier to setpublic void setTrustProfileID(String trustProfileID)
trustProfileID
- the ID of the trust profile used for validating certificates.public void setHideStammzahl(boolean hideStammzahl)
hideStammzahl_
parameter. This indicates whether source pins
(Stammzahl
en) must be hidden or not.hideStammzahl
- True
if source pins (Stammzahl
en) should
be hidden, otherwise false
.Copyright © 2019. All rights reserved.