Class SAML11AssertionWriter
- java.lang.Object
-
- org.keycloak.saml.processing.core.saml.v1.writers.BaseSAML11Writer
-
- org.keycloak.saml.processing.core.saml.v1.writers.SAML11AssertionWriter
-
public class SAML11AssertionWriter extends BaseSAML11Writer
Write the SAML 11 Assertion to stream- Since:
- June 24, 2011
- Author:
- Anil.Saldhana@redhat.com
-
-
Field Summary
-
Fields inherited from class org.keycloak.saml.processing.core.saml.v1.writers.BaseSAML11Writer
ASSERTION_PREFIX, logger, PROTOCOL_PREFIX, writer, XACML_SAML_PREFIX, XACML_SAML_PROTO_PREFIX, XSI_PREFIX
-
-
Constructor Summary
Constructors Constructor Description SAML11AssertionWriter(XMLStreamWriter writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(SAML11ActionType action)voidwrite(SAML11AssertionType assertion)Write anSAML11AssertionTypeto streamvoidwrite(SAML11AttributeStatementType statement)voidwrite(SAML11AttributeType attributeType)Write anAttributeTypeto streamvoidwrite(SAML11AuthenticationStatementType authnStatement)Write anAuthnStatementTypeto streamvoidwrite(SAML11AuthorityBindingType authority)voidwrite(SAML11AuthorizationDecisionStatementType xacmlStat)voidwrite(SAML11EvidenceType evidence)voidwrite(SAML11NameIdentifierType nameid)voidwrite(SAML11SubjectConfirmationType confirmation)voidwrite(SAML11SubjectLocalityType locality)voidwrite(SAML11SubjectStatementType statement)voidwrite(SAML11SubjectType subject)write anSubjectTypeto streamvoidwrite(StatementAbstractType statement)Write anStatementAbstractTypeto streamvoidwriteAttributeTypeWithoutRootTag(SAML11AttributeType attributeType)voidwriteLocalizedNameType(LocalizedNameType localizedNameType, QName startElement)voidwriteStringAttributeValue(String attributeValue)voidwriteSubjectConfirmationData(Object scData)
-
-
-
Constructor Detail
-
SAML11AssertionWriter
public SAML11AssertionWriter(XMLStreamWriter writer)
-
-
Method Detail
-
write
public void write(SAML11AssertionType assertion) throws ProcessingException
Write anSAML11AssertionTypeto stream- Parameters:
assertion-out-- Throws:
ProcessingException
-
write
public void write(StatementAbstractType statement) throws ProcessingException
Write anStatementAbstractTypeto stream- Parameters:
statement-out-- Throws:
ProcessingException
-
write
public void write(SAML11SubjectStatementType statement) throws ProcessingException
- Throws:
ProcessingException
-
write
public void write(SAML11AttributeStatementType statement) throws ProcessingException
- Throws:
ProcessingException
-
write
public void write(SAML11AuthenticationStatementType authnStatement) throws ProcessingException
Write anAuthnStatementTypeto stream- Parameters:
authnStatement-out-- Throws:
ProcessingException
-
write
public void write(SAML11AuthorityBindingType authority) throws ProcessingException
- Throws:
ProcessingException
-
write
public void write(SAML11SubjectLocalityType locality) throws ProcessingException
- Throws:
ProcessingException
-
write
public void write(SAML11AuthorizationDecisionStatementType xacmlStat) throws ProcessingException
- Throws:
ProcessingException
-
write
public void write(SAML11SubjectType subject) throws ProcessingException
write anSubjectTypeto stream- Parameters:
subject-out-- Throws:
ProcessingException
-
write
public void write(SAML11SubjectConfirmationType confirmation) throws ProcessingException
- Throws:
ProcessingException
-
writeSubjectConfirmationData
public void writeSubjectConfirmationData(Object scData) throws ProcessingException
- Throws:
ProcessingException
-
write
public void write(SAML11NameIdentifierType nameid) throws ProcessingException
- Throws:
ProcessingException
-
write
public void write(SAML11AttributeType attributeType) throws ProcessingException
Write anAttributeTypeto stream- Parameters:
attributeType-out-- Throws:
ProcessingException
-
writeAttributeTypeWithoutRootTag
public void writeAttributeTypeWithoutRootTag(SAML11AttributeType attributeType) throws ProcessingException
- Throws:
ProcessingException
-
writeStringAttributeValue
public void writeStringAttributeValue(String attributeValue) throws ProcessingException
- Throws:
ProcessingException
-
writeLocalizedNameType
public void writeLocalizedNameType(LocalizedNameType localizedNameType, QName startElement) throws ProcessingException
- Throws:
ProcessingException
-
write
public void write(SAML11ActionType action) throws ProcessingException
- Throws:
ProcessingException
-
write
public void write(SAML11EvidenceType evidence) throws ProcessingException
- Throws:
ProcessingException
-
-