Class AuthContSaciMessageParser
- java.lang.Object
-
- org.certificateservices.messages.authcontsaci1.AuthContSaciMessageParser
-
public class AuthContSaciMessageParser extends java.lang.ObjectMessageParser for generating generate AuthCont 1.0 SACI message according to RFC 7773. Created by philip on 02/01/17.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classAuthContSaciMessageParser.AuthContentSaciLSResourceResolver
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAMESPACE
-
Constructor Summary
Constructors Constructor Description AuthContSaciMessageParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]genSAMLAuthContext(ContextInfoType contextInfo, java.util.List<AttributeMappingType> attributeMappings)Method to create a marshalled SAML Auth Context XML, according to RFC 7773SAMLAuthContextTypeparse(byte[] data)Method to parse a unencrypted hard token data.
-
-
-
Field Detail
-
NAMESPACE
public static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
parse
public SAMLAuthContextType parse(byte[] data) throws MessageContentException, MessageProcessingException
Method to parse a unencrypted hard token data.- Parameters:
data- a serialized hard token data XML structure.- Returns:
- a unmarshalled HardTokenData.
- Throws:
MessageContentException- if xml data was invalidMessageProcessingException- if internal problems occurred unmarshalling the data.
-
genSAMLAuthContext
public byte[] genSAMLAuthContext(ContextInfoType contextInfo, java.util.List<AttributeMappingType> attributeMappings) throws MessageProcessingException
Method to create a marshalled SAML Auth Context XML, according to RFC 7773- Parameters:
contextInfo- the sweeid context info that will be converted into saci context info.attributeMappings- a list of attribute mappings.- Returns:
- marshalled SAML AuthContextInfo
- Throws:
MessageProcessingException- if internal problems occurred generating the message.
-
-