|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.ws.transport.BaseTransport
public abstract class BaseTransport
Base abstract class for a Transport that provides local storage for all transport properties.
| Constructor Summary | |
|---|---|
BaseTransport()
Constructor. |
|
| Method Summary | |
|---|---|
Object |
getAttribute(String name)
Gets a transport-specific attribute. |
String |
getCharacterEncoding()
Gets the character encoding of the transport. |
org.opensaml.xml.security.credential.Credential |
getLocalCredential()
Gets the local credential used to authenticate to the peer. |
org.opensaml.xml.security.credential.Credential |
getPeerCredential()
Gets the credential offered by the peer to authenticate itself. |
boolean |
isAuthenticated()
Gets whether the peer is authenticated. |
boolean |
isConfidential()
Gets whether the transport represents a confidential connection (e.g. |
boolean |
isIntegrityProtected()
Gets whether the transport represents a connection that protects the integrity of transported content. |
protected void |
setAttribute(String name,
Object value)
Set an attribute value. |
void |
setAuthenticated(boolean isAuthenticated)
Sets whether the peer is authenticated. |
protected void |
setCharacterEncoding(String encoding)
Set the character encoding. |
void |
setConfidential(boolean isConfidential)
Sets whether the transport represents a confidential connection. |
void |
setIntegrityProtected(boolean isIntegrityProtected)
Sets whether the transport represents a connection that protects the integrity of transported content. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseTransport()
| Method Detail |
|---|
public Object getAttribute(String name)
getAttribute in interface Transportname - name of the attribute
public String getCharacterEncoding()
getCharacterEncoding in interface Transportpublic org.opensaml.xml.security.credential.Credential getLocalCredential()
getLocalCredential in interface Transportpublic org.opensaml.xml.security.credential.Credential getPeerCredential()
getPeerCredential in interface Transportpublic boolean isAuthenticated()
isAuthenticated in interface Transportpublic boolean isConfidential()
isConfidential in interface Transportpublic boolean isIntegrityProtected()
isIntegrityProtected in interface Transportpublic void setAuthenticated(boolean isAuthenticated)
setAuthenticated in interface TransportisAuthenticated - whether the peer is authenticatedpublic void setConfidential(boolean isConfidential)
setConfidential in interface TransportisConfidential - whether the transport represents a confidential connectionpublic void setIntegrityProtected(boolean isIntegrityProtected)
setIntegrityProtected in interface TransportisIntegrityProtected - whether the transport represents a connection that protects the integrity of
transported content
protected void setAttribute(String name,
Object value)
name - attribute namevalue - attribute valueprotected void setCharacterEncoding(String encoding)
encoding - the character encoding
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||