|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ietf.jgss.ChannelBinding
The GSS-API accommodates the concept of caller-provided channel binding information. Channel bindings are used to strengthen the quality with which peer entity authentication is provided during context establishment. They enable the GSS-API callers to bind the establishment of the security context to relevant characteristics like addresses or to application specific data.
The caller initiating the security context must determine the appropriate channel binding values to set in the GSSContext object. The acceptor must provide an identical binding in order to validate that received tokens possess correct channel-related characteristics.
Use of channel bindings is optional in GSS-API. Since channel- binding information may be transmitted in context establishment tokens, applications should therefore not use confidential data as channel-binding components.
Field Summary | |
protected java.net.InetAddress |
acceptAddr
|
protected byte[] |
appData
|
protected java.net.InetAddress |
initAddr
|
Constructor Summary | |
ChannelBinding(byte[] appData)
Creates a ChannelBinding object without any addressing information. |
|
ChannelBinding(java.net.InetAddress initAddr,
java.net.InetAddress acceptAddr,
byte[] appData)
Create a ChannelBinding object with user supplied address information and data. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Returns "true" if two channel bindings match. |
java.net.InetAddress |
getAcceptorAddress()
Returns the acceptor's address for this channel binding. |
byte[] |
getApplicationData()
Returns application data being used as part of the ChannelBinding. |
java.net.InetAddress |
getInitiatorAddress()
Returns the initiator's address for this channel binding. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.net.InetAddress initAddr
protected java.net.InetAddress acceptAddr
protected byte[] appData
Constructor Detail |
public ChannelBinding(java.net.InetAddress initAddr, java.net.InetAddress acceptAddr, byte[] appData)
initAddr
- The address of the context initiator. "null" value
can be supplied to indicate that the application does
not want to set this value.acceptAddr
- The address of the context acceptor. "null" value can
be supplied to indicate that the application does not
want to set this value.appData
- Application supplied data to be used as part of the
channel bindings. "null" value can be supplied to
indicate that the application does not want to set
this value.public ChannelBinding(byte[] appData)
appData
- Application supplied data to be used as part of the
channel bindings.Method Detail |
public java.net.InetAddress getInitiatorAddress()
public java.net.InetAddress getAcceptorAddress()
public byte[] getApplicationData()
public boolean equals(java.lang.Object obj)
obj
- Another channel binding to compare with.public int hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |