public class IdentityLinkAssertionParser extends Object
<saml:Assertion>
Modifier and Type | Field | Description |
---|---|---|
static String |
PERSON_DATE_OF_BIRTH_XPATH |
Xpath expression to the PersonData DateOfBirth element
|
static String |
PERSON_FAMILY_NAME_XPATH |
Xpath expression to the PersonData FamilyName element
|
static String |
PERSON_GIVEN_NAME_XPATH |
Xpath expression to the PersonData GivenName element
|
static String |
PERSON_IDENT_TYPE_XPATH |
Xpath expression to the Identification Value element
|
static String |
PERSON_IDENT_VALUE_XPATH |
Xpath expression to the Identification Value element
|
Constructor | Description |
---|---|
IdentityLinkAssertionParser(InputStream xmlAssertion) |
Constructor for
IdentityLinkAssertionParser . |
IdentityLinkAssertionParser(String xmlAssertion) |
Constructor for
IdentityLinkAssertionParser . |
IdentityLinkAssertionParser(Element xmlAssertion) |
Sets the <@link assertionElem>.
|
Modifier and Type | Method | Description |
---|---|---|
String[] |
getCertificates() |
Parses a string array of decoded base64 certificates from
the
<InfoboxReadResponse> found in the dsig-signature |
PublicKey[] |
getPublicKeys() |
Parses an array of Public Keys from the
<InfoboxReadResponse> |
at.gv.egiz.eaaf.core.api.idp.auth.data.IIdentityLink |
parseIdentityLink() |
Parses the identity link from the
<saml:Assertion> |
public static final String PERSON_GIVEN_NAME_XPATH
public static final String PERSON_FAMILY_NAME_XPATH
public static final String PERSON_DATE_OF_BIRTH_XPATH
public static final String PERSON_IDENT_VALUE_XPATH
public static final String PERSON_IDENT_TYPE_XPATH
public IdentityLinkAssertionParser(String xmlAssertion) throws ParseException
IdentityLinkAssertionParser
.
A DOM-representation of the incoming String will be createdxmlAssertion
- <saml:Assertion>
as StringParseException
- on any parsing errorpublic IdentityLinkAssertionParser(Element xmlAssertion) throws ParseException
xmlAssertion
- the assertion elementParseException
- on any parsing errorpublic IdentityLinkAssertionParser(InputStream xmlAssertion) throws ParseException
IdentityLinkAssertionParser
.
A DOM-representation of the incoming Inputstream will be createdxmlAssertion
- <saml:Assertion>
as InputStreamParseException
- on any parsing errorpublic at.gv.egiz.eaaf.core.api.idp.auth.data.IIdentityLink parseIdentityLink() throws ParseException
<saml:Assertion>
ParseException
- on any parsing errorpublic PublicKey[] getPublicKeys() throws IOException, ECDSAConverterException
<InfoboxReadResponse>
IOException
- can occur when decoding the base64 values of the modulus and exponentECDSAConverterException
Copyright © 2019. All rights reserved.