|
Core API 7.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.juniper.smgt.sae.radiuslib.RadiusPluginUtil
public class RadiusPluginUtil
This class provides static methods to handle (interpret or decode) encoded actions which are numeric representations of a RADIUS request or response. It also provides methods to manipulate RADIUS data.
Constructor Summary | |
---|---|
RadiusPluginUtil()
|
Method Summary | |
---|---|
static long |
getHighWord(long l)
Retrieves the high 32 bits of a long value. |
static long |
getLowWord(long l)
Retrieves the low 32 bits of a long value. |
static boolean |
isAcctOffRequest(int action)
Checks whether the action that the method receives is for an Accounting-Off request. |
static boolean |
isAcctOnOffRequest(int action)
Checks whether the action that the method receives is for an Accounting-On or Accounting-Off request. |
static boolean |
isAcctOnRequest(int action)
Checks whether the action that the method receives is for an Accounting-On request. |
static boolean |
isAcctRequest(int action)
Checks whether the action that the method receives is for an accounting request. |
static boolean |
isAuthRequest(int action)
Checks whether the action that the method receives is for an authorization request. |
static boolean |
isAuthResp(int action)
Checks whether the action that the method receives is for an authorization response. |
static boolean |
isDhcpAuthRequest(int action)
Checks whether the action that the method receives is for a DHCP authorization request. |
static boolean |
isDhcpAuthResp(int action)
Checks whether the action that the method receives is for a DHCP authorization response. |
static boolean |
isStartRequest(int action)
Checks whether the action that the method receives is for a start request. |
static boolean |
isStartStopRequest(int action)
Checks whether the action that the method receives is for a start or stop request. |
static boolean |
isStopRequest(int action)
Checks whether the action that the method receives is for a stop request. |
static boolean |
isSvcAcctRequest(int action)
Checks whether the action that the method receives is for a service session start, stop or interim request. |
static boolean |
isSvcAuthRequest(int action)
Checks whether the action that the method receives is for a service authorization request. |
static boolean |
isSvcAuthResp(int action)
Checks whether the action that the method receives is for a service session authorization response. |
static boolean |
isSvcStartRequest(int action)
Checks whether the action that the method receives is for a service session start request. |
static boolean |
isSvcStopRequest(int action)
Checks whether the action that the method receives is for a service session stop request. |
static boolean |
isUserAcctRequest(int action)
Checks whether the action that the method receives is for a subscriber session start, stop or interim request. |
static boolean |
isUserAuthRequest(int action)
Checks whether the action that the method receives is for a user authorization request. |
static boolean |
isUserAuthResp(int action)
Checks whether the action that the method receives is for a subscriber session authorization response. |
static boolean |
isUserStartRequest(int action)
Checks whether the action that the method receives is for a subscriber session start request. |
static boolean |
isUserStopRequest(int action)
Checks whether the action that the method receives is for a subscriber session stop request. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RadiusPluginUtil()
Method Detail |
---|
public static boolean isStartRequest(int action)
action
- Encoded action.
true
if the action received is for a start
request.public static boolean isStopRequest(int action)
action
- Encoded action.
true
if the action received is for a stop request.public static boolean isStartStopRequest(int action)
action
- Encoded action.
true
if the action received is for a start or stop
request.public static boolean isUserStartRequest(int action)
action
- Encoded action.
true
if the action received is for a subscriber
session start request.public static boolean isUserStopRequest(int action)
action
- Encoded action.
true
if the action received is for a subscriber
session stop request.public static boolean isUserAcctRequest(int action)
action
- Encoded action.
true
if the action received is for a subscriber
session start, stop or interim request.public static boolean isSvcAcctRequest(int action)
action
- Encoded action.
true
if the action received is for a service
session start, stop or interim request.public static boolean isSvcStartRequest(int action)
action
- Encoded action.
true
if the action received is for a service
session start request.public static boolean isSvcStopRequest(int action)
action
- Encoded action.
true
if the action received is for a service
session stop request.public static boolean isAcctOnRequest(int action)
action
- Encoded action.
true
if the action received is for an
Accounting-On request.public static boolean isAcctOffRequest(int action)
action
- Encoded action.
true
if the action received is for an
Accounting-Off request.public static boolean isAcctOnOffRequest(int action)
action
- Encoded action.
true
if the action received is for an
Accounting-On or Accounting-Off request.public static boolean isAcctRequest(int action)
action
- Encoded action.
true
if the action received is for an accounting
request.public static boolean isAuthRequest(int action)
action
- Encoded action.
true
if the action received is for an
authorization request.public static boolean isUserAuthRequest(int action)
action
- Encoded action.
true
if the action received is for a user
authorization request.public static boolean isSvcAuthRequest(int action)
action
- Encoded action.
true
if the action received is for a service
authorization request.public static boolean isDhcpAuthRequest(int action)
action
- Encoded action.
true
if the action received is for a DHCP
authorization request.public static boolean isAuthResp(int action)
action
- Encoded action.
true
if the action received is for an
authorization response.public static boolean isUserAuthResp(int action)
action
- Encoded action.
true
if the action received is for a subscriber
session authorization response.public static boolean isSvcAuthResp(int action)
action
- Encoded action.
true
if the action received is for a service
session authorization response.public static boolean isDhcpAuthResp(int action)
action
- Encoded action.
true
if the action received is for a DHCP
authorization response.public static long getHighWord(long l)
l
- a long to be treated.
public static long getLowWord(long l)
l
- a long to be treated.
|
Core API 7.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |