AXL Software

com.theorem.radserver3
Class ProxyInfo.ProxyRejectException

Object
  extended byThrowable
      extended byException
          extended byAccessRejectException
              extended byProxyInfo.ProxyRejectException
All Implemented Interfaces:
Serializable
Enclosing class:
ProxyInfo

public static class ProxyInfo.ProxyRejectException
extends AccessRejectException

Throw a Access-Reject exception when complying with RFC 2607 (Proxy Chaining and Policy in Roaming) section 5.1. Policy implementation.

 A proxy MAY also decide to Reject a Request that has been accepted by
 the home server.  This could be based on the set of attributes
 returned by the home server.  In this case the Proxy SHOULD send an
 Access-Reject to the NAS and an Accounting-Request with Acct-Status-
 Type=Proxy-Stop (6) to the home server.  This lets the home server
 know that the session it approved has been denied downstream by the
 proxy.  However, a proxy MUST NOT send an Access-Accept after
 receiving an Access-Reject from a proxy or from the home server.
 
Throwing this exception will cause the Access-Reject to be sent to the client..

If this is thrown by {link ProxyImpl.changeResponse(ProxyInfo pi)} an accounting message will be sent to the home server with the Acct-Status-Type=Proxy-Stop (6).

If thrown by {link ProxyImpl.changeRequest(ProxyInfo pi)} an Access-Reject is sent to the client.

See Also:
Serialized Form

Constructor Summary
ProxyInfo.ProxyRejectException(String msg)
          Constructor.
 
Method Summary
 String toString()
          Return the error string.
 
Methods inherited from class AccessRejectException
getAttributeList, getMessage, setAttributes, setAttributes
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProxyInfo.ProxyRejectException

public ProxyInfo.ProxyRejectException(String msg)
Constructor.

Parameters:
msg - Message to log.
Method Detail

toString

public String toString()
Return the error string.

Overrides:
toString in class AccessRejectException
Returns:
the string representation of this class.

AXL Software

Submit a bug report or feature request

Copyright 1998-2010 AXL Software PO Box 97, Viola, Delaware 19979, U.S.A. All Rights Reserved.