Examples of RadiusAttribute


Examples of org.tinyradius.attribute.RadiusAttribute

    throws IOException {     
      synchronized(RadiusProxy.class) {
          // add Proxy-State attribute
        proxyIndex++;
        String proxyIndexStr = Integer.toString(proxyIndex);
        packet.addAttribute(new RadiusAttribute(33, proxyIndexStr.getBytes()));
       
        // store RadiusProxyConnection object
        proxyConnections.put(proxyIndexStr, proxyConnection);
      }
View Full Code Here

Examples of org.tinyradius.attribute.RadiusAttribute

   * @param answer response packet
   */
  protected void copyProxyState(RadiusPacket request, RadiusPacket answer) {
    List proxyStateAttrs = request.getAttributes(33);
    for (Iterator i = proxyStateAttrs.iterator(); i.hasNext();) {
      RadiusAttribute proxyStateAttr = (RadiusAttribute)i.next();
      answer.addAttribute(proxyStateAttr);
    }   
  }
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.