Package org.opensaml.ws.transport.http

Examples of org.opensaml.ws.transport.http.HTTPTransport


     * @param messageContext message context being evaluated
     *
     * @throws SecurityPolicyException thrown if the message context does not meet the requirements of an evaluated rule
     */
    protected void doEvaluate(MessageContext messageContext) throws SecurityPolicyException {
        HTTPTransport transport = (HTTPTransport) messageContext.getInboundMessageTransport();
        evaluateContentType(transport);
        evaluateRequestMethod(transport);
        evaluateSecured(transport);
    }
View Full Code Here


     * @param messageContext message context being evaluated
     *
     * @throws SecurityPolicyException thrown if the message context does not meet the requirements of an evaluated rule
     */
    protected void doEvaluate(MessageContext messageContext) throws SecurityPolicyException {
        HTTPTransport transport = (HTTPTransport) messageContext.getInboundMessageTransport();
        evaluateContentType(transport);
        evaluateRequestMethod(transport);
        evaluateSecured(transport);
    }
View Full Code Here

        super(decoder, encoder);
    }

    public boolean supports(InTransport transport) {
        if (transport instanceof HTTPInTransport) {
            HTTPTransport t = (HTTPTransport) transport;
            return "GET".equalsIgnoreCase(t.getHTTPMethod()) && (t.getParameterValue("SAMLRequest") != null || t.getParameterValue("SAMLResponse") != null);
        } else {
            return false;
        }
    }
View Full Code Here

        this.parserPool = parserPool;
    }

    public boolean supports(InTransport transport) {
        if (transport instanceof HTTPInTransport) {
            HTTPTransport t = (HTTPTransport) transport;
            return "POST".equalsIgnoreCase(t.getHTTPMethod()) && (t.getParameterValue("SAMLRequest") != null || t.getParameterValue("SAMLResponse") != null);
        } else {
            return false;
        }
    }
View Full Code Here

TOP

Related Classes of org.opensaml.ws.transport.http.HTTPTransport

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.