|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.gssapi.ChannelBinding
public class ChannelBinding
The JGSS 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 JGSS callers to bind the establishment of the a 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 identical binding in order to validate that received tokens possess correct channel-related characteristics.
Use of channel bindings is optional in JGSS. Since channel- binding information may be transmitted in context establishment tokens, applications should therefore not use confidential data as channel-binding components.
GSSContext.setChannelBinding(com.sun.gssapi.ChannelBinding)
,
InetAddress
Constructor Summary | |
---|---|
ChannelBinding(byte[] appData)
Construct a channel bindings object without any addressing information. |
|
ChannelBinding(java.net.InetAddress initAddr,
java.net.InetAddress acceptAddr,
byte[] appData)
Construct a channel bindings object that contains all the user specified tags. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Compares two instances of ChannelBinding |
java.net.InetAddress |
getAcceptorAddress()
Get the acceptor's address for this channel binding. |
byte[] |
getApplicationData()
Get the application specified data for this channel binding. |
java.net.InetAddress |
getInitiatorAddress()
Get the initiator's address for this channel binding. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChannelBinding(java.net.InetAddress initAddr, java.net.InetAddress acceptAddr, byte[] appData)
initAddr
- the address of the context initiatoracceptAddr
- address of the context acceptorappData
- a byte array of application data to be used as
part of the channel-bindingpublic ChannelBinding(byte[] appData)
appData
- a byte array of application data to be used as
part of the channel-bindingMethod Detail |
---|
public java.net.InetAddress getInitiatorAddress()
public java.net.InetAddress getAcceptorAddress()
public byte[] getApplicationData()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |