Class UserDataAssertionData
- java.lang.Object
-
- org.certificateservices.messages.assertion.AssertionData
-
- org.certificateservices.messages.assertion.UserDataAssertionData
-
public class UserDataAssertionData extends AssertionData
Value object containing information about and Approval Assertion.
-
-
Field Summary
-
Fields inherited from class org.certificateservices.messages.assertion.AssertionData
assertionPayloadParser, id, notBefore, notOnOrAfter, signCertificate, subjectId
-
-
Constructor Summary
Constructors Constructor Description UserDataAssertionData(AssertionPayloadParser assertionPayloadParser)Main Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDisplayName()java.util.List<FieldValue>getFieldValues()java.lang.StringgetTokenType()voidparse(javax.xml.bind.JAXBElement<AssertionType> assertion)Main parser called by AssertionPayloadParser after decryption.java.lang.StringtoString()-
Methods inherited from class org.certificateservices.messages.assertion.AssertionData
equals, getId, getNotBefore, getNotOnOrAfter, getSignCertificate, getSubjectId, hashCode, parseCommonData
-
-
-
-
Constructor Detail
-
UserDataAssertionData
public UserDataAssertionData(AssertionPayloadParser assertionPayloadParser)
Main Constructor
-
-
Method Detail
-
parse
public void parse(javax.xml.bind.JAXBElement<AssertionType> assertion) throws MessageContentException, MessageProcessingException
Main parser called by AssertionPayloadParser after decryption.- Specified by:
parsein classAssertionData- Parameters:
assertion- the assertion to parse.- Throws:
MessageContentException- if content of the message was invalid.MessageProcessingException- in internal problems occurred parsing the data.
-
getDisplayName
public java.lang.String getDisplayName()
- Returns:
- display name of the related user (optional might be null if no display name could be sent).
-
getTokenType
public java.lang.String getTokenType()
- Returns:
- related token type of the data requested (optional might be null if no token type exists).
-
getFieldValues
public java.util.List<FieldValue> getFieldValues()
- Returns:
- list of field values that will be used as a complement when generating credential for a user.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-