Examples of RadiusPacket


Examples of org.tinyradius.packet.RadiusPacket

            logger.info("ignoring packet from unknown client " + remoteAddress + " received on local address " + localAddress);
          continue;
        }
       
        // parse packet
        RadiusPacket request = makeRadiusPacket(packetIn, secret);
        if (logger.isInfoEnabled())
          logger.info("received packet from " + remoteAddress + " on local address " + localAddress + ": " + request);

        // handle packet
        logger.trace("about to call RadiusServer.handlePacket()");
        RadiusPacket response = handlePacket(localAddress, remoteAddress, request, secret);
       
        // send response
        if (response != null) {
          if (logger.isInfoEnabled())
            logger.info("send response: " + response);
View Full Code Here

Examples of org.tinyradius.packet.RadiusPacket

   * @return response packet or null for no response
   * @throws RadiusException
   */
  protected RadiusPacket handlePacket(InetSocketAddress localAddress, InetSocketAddress remoteAddress, RadiusPacket request, String sharedSecret)
  throws RadiusException, IOException {
    RadiusPacket response = null;
   
    // check for duplicates
    if (!isPacketDuplicate(request, remoteAddress)) {
      if (localAddress.getPort() == getAuthPort()) {
        // handle packets on auth port
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.