public class SAMLResponseWriter extends BaseWriter
ASSERTION_PREFIX, logger, PROTOCOL_PREFIX, writer, XACML_SAML_PREFIX, XACML_SAML_PROTO_PREFIX, XSI_PREFIX
Constructor and Description |
---|
SAMLResponseWriter(XMLStreamWriter writer) |
Modifier and Type | Method and Description |
---|---|
void |
write(ArtifactResponseType response) |
void |
write(ResponseType response)
Write a
ResponseType to stream |
void |
write(StatusCodeType statusCodeType)
Write a
StatusCodeType to stream |
void |
write(StatusDetailType statusDetailType)
Write a
StatusDetailType to stream |
void |
write(StatusResponseType response,
QName qname)
Write a
StatusResponseType |
void |
write(StatusType status)
Write a
StatusType to stream |
write, write, write, writeAttributeTypeWithoutRootTag, writeLocalizedNameType, writeStringAttributeValue
public SAMLResponseWriter(XMLStreamWriter writer)
public void write(ResponseType response) throws ProcessingException
ResponseType
to streamresponse
- out
- ProcessingException
public void write(ArtifactResponseType response) throws ProcessingException
ProcessingException
public void write(StatusResponseType response, QName qname) throws ProcessingException
StatusResponseType
response
- qname
- QName of the starting elementout
- ProcessingException
public void write(StatusType status) throws ProcessingException
StatusType
to streamstatus
- out
- ProcessingException
public void write(StatusCodeType statusCodeType) throws ProcessingException
StatusCodeType
to streamstatusCodeType
- out
- ProcessingException
public void write(StatusDetailType statusDetailType) throws ProcessingException
StatusDetailType
to streamstatusDetailType
- out
- ProcessingException
Copyright © 2017 JBoss by Red Hat. All rights reserved.