Spring Security SAML

org.opensaml.ws.transport.http
Class HttpClientOutTransport

java.lang.Object
  extended by org.opensaml.ws.transport.http.HttpClientOutTransport
All Implemented Interfaces:
org.opensaml.ws.transport.http.HTTPOutTransport, org.opensaml.ws.transport.http.HTTPTransport, org.opensaml.ws.transport.OutTransport, org.opensaml.ws.transport.Transport

public class HttpClientOutTransport
extends Object
implements org.opensaml.ws.transport.http.HTTPOutTransport

Implementation of HTTPOutTransport delegating to a HTTPClient PortMethod object.

Author:
Mandus Elfving

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.opensaml.ws.transport.http.HTTPTransport
org.opensaml.ws.transport.http.HTTPTransport.HTTP_VERSION
 
Constructor Summary
HttpClientOutTransport(org.apache.commons.httpclient.methods.PostMethod postMethod)
           
 
Method Summary
 void addParameter(String s, String s1)
           
 Object getAttribute(String s)
           
 String getCharacterEncoding()
           
 String getHeaderValue(String s)
           
 String getHTTPMethod()
           
 org.opensaml.xml.security.credential.Credential getLocalCredential()
           
 OutputStream getOutgoingStream()
           
 String getParameterValue(String s)
           
 List<String> getParameterValues(String s)
           
 org.opensaml.xml.security.credential.Credential getPeerCredential()
           
 int getStatusCode()
           
 org.opensaml.ws.transport.http.HTTPTransport.HTTP_VERSION getVersion()
           
 boolean isAuthenticated()
           
 boolean isConfidential()
           
 boolean isIntegrityProtected()
           
 void sendRedirect(String s)
           
 void setAttribute(String s, Object o)
           
 void setAuthenticated(boolean b)
           
 void setCharacterEncoding(String s)
           
 void setConfidential(boolean b)
           
 void setHeader(String s, String s1)
           
 void setIntegrityProtected(boolean b)
           
 void setStatusCode(int i)
           
 void setVersion(org.opensaml.ws.transport.http.HTTPTransport.HTTP_VERSION http_version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpClientOutTransport

public HttpClientOutTransport(org.apache.commons.httpclient.methods.PostMethod postMethod)
Method Detail

setVersion

public void setVersion(org.opensaml.ws.transport.http.HTTPTransport.HTTP_VERSION http_version)
Specified by:
setVersion in interface org.opensaml.ws.transport.http.HTTPOutTransport

setHeader

public void setHeader(String s,
                      String s1)
Specified by:
setHeader in interface org.opensaml.ws.transport.http.HTTPOutTransport

addParameter

public void addParameter(String s,
                         String s1)
Specified by:
addParameter in interface org.opensaml.ws.transport.http.HTTPOutTransport

setStatusCode

public void setStatusCode(int i)
Specified by:
setStatusCode in interface org.opensaml.ws.transport.http.HTTPOutTransport

sendRedirect

public void sendRedirect(String s)
Specified by:
sendRedirect in interface org.opensaml.ws.transport.http.HTTPOutTransport

setAttribute

public void setAttribute(String s,
                         Object o)
Specified by:
setAttribute in interface org.opensaml.ws.transport.OutTransport

setCharacterEncoding

public void setCharacterEncoding(String s)
Specified by:
setCharacterEncoding in interface org.opensaml.ws.transport.OutTransport

getOutgoingStream

public OutputStream getOutgoingStream()
Specified by:
getOutgoingStream in interface org.opensaml.ws.transport.OutTransport

getAttribute

public Object getAttribute(String s)
Specified by:
getAttribute in interface org.opensaml.ws.transport.Transport

getCharacterEncoding

public String getCharacterEncoding()
Specified by:
getCharacterEncoding in interface org.opensaml.ws.transport.Transport

getLocalCredential

public org.opensaml.xml.security.credential.Credential getLocalCredential()
Specified by:
getLocalCredential in interface org.opensaml.ws.transport.Transport

getPeerCredential

public org.opensaml.xml.security.credential.Credential getPeerCredential()
Specified by:
getPeerCredential in interface org.opensaml.ws.transport.Transport

isAuthenticated

public boolean isAuthenticated()
Specified by:
isAuthenticated in interface org.opensaml.ws.transport.Transport

setAuthenticated

public void setAuthenticated(boolean b)
Specified by:
setAuthenticated in interface org.opensaml.ws.transport.Transport

isConfidential

public boolean isConfidential()
Specified by:
isConfidential in interface org.opensaml.ws.transport.Transport

setConfidential

public void setConfidential(boolean b)
Specified by:
setConfidential in interface org.opensaml.ws.transport.Transport

isIntegrityProtected

public boolean isIntegrityProtected()
Specified by:
isIntegrityProtected in interface org.opensaml.ws.transport.Transport

setIntegrityProtected

public void setIntegrityProtected(boolean b)
Specified by:
setIntegrityProtected in interface org.opensaml.ws.transport.Transport

getHeaderValue

public String getHeaderValue(String s)
Specified by:
getHeaderValue in interface org.opensaml.ws.transport.http.HTTPTransport

getHTTPMethod

public String getHTTPMethod()
Specified by:
getHTTPMethod in interface org.opensaml.ws.transport.http.HTTPTransport

getStatusCode

public int getStatusCode()
Specified by:
getStatusCode in interface org.opensaml.ws.transport.http.HTTPTransport

getParameterValue

public String getParameterValue(String s)
Specified by:
getParameterValue in interface org.opensaml.ws.transport.http.HTTPTransport

getParameterValues

public List<String> getParameterValues(String s)
Specified by:
getParameterValues in interface org.opensaml.ws.transport.http.HTTPTransport

getVersion

public org.opensaml.ws.transport.http.HTTPTransport.HTTP_VERSION getVersion()
Specified by:
getVersion in interface org.opensaml.ws.transport.http.HTTPTransport

Spring Security SAML