Package org.opensaml.common.binding

Examples of org.opensaml.common.binding.BasicSAMLMessageContext


                    samlResponse.setInResponseTo(samlService.getRequestID());
                }
            }
            prepareResponse(samlResponse, model);

            final BasicSAMLMessageContext messageContext = new BasicSAMLMessageContext();
            messageContext.setOutboundMessageTransport(new HttpServletResponseAdapter(response, request.isSecure()));
            messageContext.setOutboundSAMLMessage(samlResponse);
            this.encoder.encode(messageContext);
        } catch (final Exception e) {
            logger.error("Error generating SAML response for service {}.", serviceId);
            throw e;
        }
View Full Code Here

TOP

Related Classes of org.opensaml.common.binding.BasicSAMLMessageContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.