Package org.ietf.jgss

Examples of org.ietf.jgss.ChannelBinding


        try {

            InetAddress initAddr = InetAddress.getByName("127.0.0.1");
            InetAddress acceptAddr = InetAddress.getByName("127.0.0.1");

            ChannelBinding cb = new ChannelBinding(initAddr, acceptAddr,
                                                   appData);
            ChannelBinding cb2 = new ChannelBinding(initAddr, acceptAddr,
                                                   appData);
            ChannelBinding cb3 = new ChannelBinding(appData);

            if (!cb.getInitiatorAddress().getHostAddress().equals("127.0.0.1"))
                fail("Failed to set initiator InetAddress correctly");

            if (!cb.getAcceptorAddress().getHostAddress().equals("127.0.0.1"))
View Full Code Here

TOP

Related Classes of org.ietf.jgss.ChannelBinding

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.