Class SAMLAssertionWriter
- java.lang.Object
-
- org.keycloak.saml.processing.core.saml.v2.writers.BaseWriter
-
- org.keycloak.saml.processing.core.saml.v2.writers.SAMLAssertionWriter
-
public class SAMLAssertionWriter extends BaseWriter
Write the SAML Assertion to stream- Since:
- Nov 2, 2010
- Author:
- Anil.Saldhana@redhat.com
-
-
Field Summary
-
Fields inherited from class org.keycloak.saml.processing.core.saml.v2.writers.BaseWriter
ASSERTION_PREFIX, logger, PROTOCOL_PREFIX, writer
-
-
Constructor Summary
Constructors Constructor Description SAMLAssertionWriter(XMLStreamWriter writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(AssertionType assertion)Write anAssertionTypeto streamvoidwrite(AttributeStatementType statement)voidwrite(AuthnContextType authContext)Write anAuthnContextTypeto streamvoidwrite(AuthnStatementType authnStatement, boolean includeNamespace)Write anAuthnStatementTypeto streamvoidwrite(StatementAbstractType statement)Write anStatementAbstractTypeto stream-
Methods inherited from class org.keycloak.saml.processing.core.saml.v2.writers.BaseWriter
write, write, write, write, write, writeAttributeTypeWithoutRootTag, writeDateAttributeValue, writeLocalizedNameType, writeNameIDTypeAttributeValue, writeStringAttributeValue
-
-
-
-
Constructor Detail
-
SAMLAssertionWriter
public SAMLAssertionWriter(XMLStreamWriter writer)
-
-
Method Detail
-
write
public void write(AssertionType assertion) throws ProcessingException
Write anAssertionTypeto stream- Parameters:
assertion-- Throws:
ProcessingException
-
write
public void write(StatementAbstractType statement) throws ProcessingException
Write anStatementAbstractTypeto stream- Parameters:
statement-- Throws:
ProcessingException
-
write
public void write(AttributeStatementType statement) throws ProcessingException
- Throws:
ProcessingException
-
write
public void write(AuthnStatementType authnStatement, boolean includeNamespace) throws ProcessingException
Write anAuthnStatementTypeto stream- Parameters:
authnStatement-- Throws:
ProcessingException
-
write
public void write(AuthnContextType authContext) throws ProcessingException
Write anAuthnContextTypeto stream- Parameters:
authContext-- Throws:
ProcessingException
-
-