Class BaseWriter
java.lang.Object
org.keycloak.saml.processing.core.saml.v2.writers.BaseWriter
- Direct Known Subclasses:
SAMLAssertionWriter
,SAMLMetadataWriter
,SAMLRequestWriter
,SAMLResponseWriter
Base Class for the Stax writers for SAML
- Since:
- Nov 2, 2010
- Author:
- Anil.Saldhana@redhat.com
-
Field Summary
Modifier and TypeFieldDescriptionprotected static String
protected static final PicketLinkLogger
protected static String
protected XMLStreamWriter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(AttributeType attributeType) Write anAttributeType
to streamvoid
write
(NameIDType nameIDType, QName tag) WriteNameIDType
to stream without writing a namespacevoid
write
(NameIDType nameIDType, QName tag, boolean writeNamespace) WriteNameIDType
to streamvoid
write
(SubjectType subject) write anSubjectType
to streamvoid
write
(ExtensionsType extensions) void
writeAttributeTypeWithoutRootTag
(AttributeType attributeType) void
writeDateAttributeValue
(XMLGregorianCalendar attributeValue) void
writeLocalizedNameType
(LocalizedNameType localizedNameType, QName startElement) void
writeNameIDTypeAttributeValue
(NameIDType attributeValue) void
writeStringAttributeValue
(String attributeValue)
-
Field Details
-
logger
-
PROTOCOL_PREFIX
-
ASSERTION_PREFIX
-
writer
-
-
Constructor Details
-
BaseWriter
-
-
Method Details
-
write
public void write(NameIDType nameIDType, QName tag, boolean writeNamespace) throws ProcessingException WriteNameIDType
to stream- Parameters:
nameIDType
-tag
-out
-- Throws:
ProcessingException
-
write
WriteNameIDType
to stream without writing a namespace- Throws:
ProcessingException
-
write
Write anAttributeType
to stream- Parameters:
attributeType
-out
-- Throws:
ProcessingException
-
writeAttributeTypeWithoutRootTag
public void writeAttributeTypeWithoutRootTag(AttributeType attributeType) throws ProcessingException - Throws:
ProcessingException
-
writeNameIDTypeAttributeValue
- Throws:
ProcessingException
-
writeStringAttributeValue
- Throws:
ProcessingException
-
writeDateAttributeValue
- Throws:
ProcessingException
-
writeLocalizedNameType
public void writeLocalizedNameType(LocalizedNameType localizedNameType, QName startElement) throws ProcessingException - Throws:
ProcessingException
-
write
write anSubjectType
to stream- Parameters:
subject
-out
-- Throws:
ProcessingException
-
write
- Throws:
ProcessingException
-