Core API 6.4

net.juniper.smgt.sae.radiuslib
Interface BasicRadiusPluginEvent

All Known Subinterfaces:
RadiusPluginEvent

public interface BasicRadiusPluginEvent


Field Summary
static long NO_VALUE
           
 
Method Summary
 String getAccountingId()
          Retrieves the value of the LDAP attribute accountingUserId.
 String getAggrAccountingId()
          Retrieves the accounting ID of the subscriber who started an aggregate service session.
 String getAggrAuthUserId()
          Retrieves the user ID that was used to authenticate an aggregate service session.
 String getAggrLoginName()
          Retrieves the login name of the subscriber who started an aggregate service session.
 String getAggrSessionId()
          Retrieves the accounting session ID of an aggregate service session.
 String getAggrUserDn()
          Retrieves the distinguished name (DN) of user profile of the subscriber who started an aggregate service session.
 InetAddress getAggrUserInetAddress()
          Retrieves the IP address of the subscriber who started an aggregate service session.
 String getAuthUserId()
          Retrieves the identifier that the subscriber uses for authentication.
 byte[] getDhcpPacket()
          Retrieves the content of a DHCP discover request.
 String getDomain()
          Retrieves the domain for secondary authentication.
 long getDownstreamBandwidth()
          Retrieves the downstream bandwidth (from the network to the subscriber) that is available for the service.
 long getEventTime()
          Retrieves the number of seconds since midnight 1970-01-01 UTC.
 long getEventTimeMillisecond()
          Retrieves the number of milliseconds since midnight 1970-01-01 UTC.
 String getHostName()
          Retrieves the name of the host on which the SAE is installed.
 long getIfIndex()
          Retrieves the SNMP index of interface.
 String getIfRadiusClass()
          Retrieves the RADIUS class attribute of the underlying router interface.
 String getIfSessionId()
          Retrieves the identifier for RADIUS accounting of the underlying router interface.
 long getInOctets()
          Retrieves the number of 64-bit upstream (from the subscriber to the network) octets.
 long getInPackets()
          Retrieves the number of 64-bit upstream (from the subscriber to the network) packets.
 String getInterfaceAlias()
          Retrieves the alias of the interface that is configured on a JUNOSe router by using the interface ip description command.
 String getInterfaceDescr()
          Retrieves the alternative name of the interface that SNMP uses.
 String getInterfaceName()
          Retrieves the name of an interface.
 long getInterfaceSpeed()
          Retrieves the speead of the interface.
 long getInterimTime()
          Retrieves the accounting interim time in seconds.
 String getLocalNasId()
          Retrieves the identifier that the SAE uses to communicate with the RADIUS server.
 long getLocalNasIp()
          Retrieves the IP address of the SAE that is used to communicate with the RADIUS server.
 String getLoginId()
          Retrieves the subscriber's login identifier (in the format that the subscriber enters it).
 String getLoginName()
          Retrieves the subscriber's login name.
 String getManagerId()
          Retrieves the distinguished name (DN) of the IT administrator.
 InetAddress getNasInetAddress()
          Retrieves the IP address of the router.
 long getNasIp()
          Retrieves the IP address of the router that is used to communicate with the RADIUS server.
 long getNasPort()
          Retrieves the numeric identifier that the router uses to identify the interface to RADIUS.
 long getOperational()
          Retrieves the flag that identifies whether an interface was operational at the time of an event.
 long getOutOctets()
          Retrieves the number of 64-bit downstream (from the network to the subscriber) octets.
 long getOutPackets()
          Retrieves the number of 64-bit downstream (from the network to the subscriber) packets.
 String getPassword()
          Retrieves the password for secondary authentication.
 String getPortId()
          Retrieves the identifier of a virtual LAN (VLAN) or virtual circuit.
 String getPrimaryUserName()
          Retrieves pppLoginName or publicDhcpUserName.
 String[] getRadiusClass()
          Retrieves the RADIUS class attribute from the service definition.
 String getRetailerDn()
          Retrieves the distinguished name (DN) of the retailer that is associated with the domain.
 String getRouterName()
          Retrieves the name of the virtual router.
 String getServiceBundle()
          Retrieves the service bundle RADIUS VSA.
 String getServiceName()
          Retrieves the name of service.
 String getServiceScope()
          Retrieves the list of service scopes.
 String getServiceSessionName()
          Retrieves the name of service session.
 String getServiceSessionTag()
          Retrieves the tag of service session.
 String getSessionId()
          Retrieves the RADIUS session ID.
 long getSessionTime()
          Retrieves the length of session in seconds.
 long getSessionTimeout()
          Retrieves the maximum length of the session in seconds.
 String getSubscriptionName()
          Retrieves the name of the subscription.
 long getTerminateCause()
          Retrieves the cause of RADIUS termination.
 String getUid()
          Retrieves the subscriber ID used for secondary authentication.
 long getUpstreamBandwidth()
          Retrieves the upstream bandwidth (from the subscriber to the network) that is available for the service.
 String getUserDn()
          Retrieves the distinguished name (DN) of a user profile.
 InetAddress getUserInetAddress()
          Retrieves the IP address of the subscriber.
 long getUserIpAddress()
          Retrieves the IP address of the PPP subscriber.
 String getUserMacAddress()
          Retrieves the media access control (MAC) address of a DHCP subscriber.
 String[] getUserRadiusClass()
          Retrieves the RADIUS class of the subscriber session for a service.
 String getUserSessionId()
          Retrieves the identifier of RADIUS sessions for subscriber sessions.
 String getUserType()
          Retrieves the type of subscriber.
 

Field Detail

NO_VALUE

public static final long NO_VALUE
See Also:
Constant Field Values
Method Detail

getLocalNasIp

public long getLocalNasIp()
Retrieves the IP address of the SAE that is used to communicate with the RADIUS server.

Types of associated events - Authorization and tracking.

Returns:
IP address of the SAE.

getLocalNasId

public String getLocalNasId()
Retrieves the identifier that the SAE uses to communicate with the RADIUS server.

Types of associated events - Authorization and tracking.

Returns:
SAE identifier.

getAuthUserId

public String getAuthUserId()
Retrieves the identifier that the subscriber uses for authentication.

Types of associated events - Tracking

Returns:
Identifier that the subscriber uses for authentication; null if the attribute is not available in this plug-in event.

getHostName

public String getHostName()
Retrieves the name of the host on which the SAE is installed.

Types of associated events - Authorization and tracking.

Returns:
Name of the host on which the SAE is installed.

getRouterName

public String getRouterName()
Retrieves the name of the virtual router.

Types of associated events - Authorization and tracking.

Returns:
Name of the virtual router.

getInterfaceName

public String getInterfaceName()
Retrieves the name of an interface. For example fastethernet 3/1.

Types of associated events - Authorization and tracking.

Returns:
Name of the interface.

getInterfaceAlias

public String getInterfaceAlias()
Retrieves the alias of the interface that is configured on a JUNOSe router by using the interface ip description command.

Types of associated events - Authorization and tracking.

Returns:
Alias for the interface.

getInterfaceDescr

public String getInterfaceDescr()
Retrieves the alternative name of the interface that SNMP uses.

Types of associated events - Authorization and tracking.

Returns:
Alternative name of the interface that SNMP uses.

getInterfaceSpeed

public long getInterfaceSpeed()
Retrieves the speead of the interface.

Types of associated events - Authorization and tracking.

Returns:
speed of interface.

getPortId

public String getPortId()
Retrieves the identifier of a virtual LAN (VLAN) or virtual circuit. This attribute is not supported on JUNOS routing platforms.

Types of associated events - Authorization and tracking.

Returns:
Identifier of the VLAN or virtual circuit.

getNasPort

public long getNasPort()
Retrieves the numeric identifier that the router uses to identify the interface to RADIUS.

Types of associated events - Authorization and tracking.

Returns:
Numeric identifier that the router uses to identify the interface to RADIUS.

getIfRadiusClass

public String getIfRadiusClass()
Retrieves the RADIUS class attribute of the underlying router interface. This attribute is not supported on JUNOS routing platforms.

Types of associated events - Authorization and tracking.

Returns:
RADIUS class attribute of the underlying router interface.

getServiceBundle

public String getServiceBundle()
Retrieves the service bundle RADIUS VSA.

Types of associated events - Authorization and tracking.

Returns:
Service bundle RADIUS VSA.

getUserIpAddress

public long getUserIpAddress()
Retrieves the IP address of the PPP subscriber.

Types of associated events - Authorization and tracking.

Returns:
IP address of the PPP subscriber.

getLoginName

public String getLoginName()
Retrieves the subscriber's login name.

Types of associated events - Authorization and tracking.

Returns:
Login name of the subscriber.

getLoginId

public String getLoginId()
Retrieves the subscriber's login identifier (in the format that the subscriber enters it).

Types of associated events - Authorization.

Returns:
Login identifier for the subscriber; null if the attribute is not available in this plug-in event.

getRadiusClass

public String[] getRadiusClass()
Retrieves the RADIUS class attribute from the service definition. This attribute can occur multiple times. This attribute is not supported on JUNOS routing platforms.

Types of associated events - Tracking, ServiceAuthorization.

Returns:
RADIUS class attribute in the service definition; an empty String array if the attribute is not available in this plug-in event.

getAccountingId

public String getAccountingId()
Retrieves the value of the LDAP attribute accountingUserId.

Types of associated events - Authorization and tracking.

Returns:
Value of the LDAP attribute accountingUserId.

getUserDn

public String getUserDn()
Retrieves the distinguished name (DN) of a user profile.

Types of associated events - Authorization and tracking.

Returns:
DN of the user profile.

getEventTime

public long getEventTime()
Retrieves the number of seconds since midnight 1970-01-01 UTC.

Types of associated events - Authorization and tracking.

Returns:
Number of seconds since midnight 1970-01-01 UTC.

getEventTimeMillisecond

public long getEventTimeMillisecond()
Retrieves the number of milliseconds since midnight 1970-01-01 UTC.

Types of associated events - Authorization and tracking.

Returns:
Number of milliseconds since midnight 1970-01-01 UTC.

getNasIp

public long getNasIp()
Retrieves the IP address of the router that is used to communicate with the RADIUS server. This attribute is not supported on JUNOS routing platforms.

Types of associated events - Authorization and tracking.

Returns:
Router IP address for RADIUS communication.

getUserMacAddress

public String getUserMacAddress()
Retrieves the media access control (MAC) address of a DHCP subscriber. This attribute is not supported on JUNOS routing platforms.

Types of associated events - Authorization and tracking.

Returns:
MAC address of the DHCP subscriber.

getDhcpPacket

public byte[] getDhcpPacket()
Retrieves the content of a DHCP discover request. This attribute is not supported on JUNOS routing platforms.

Types of associated events - Authorization and tracking.

Returns:
Content of the DHCP discover request; an empty byte array if the attribute has no value.

getUserType

public String getUserType()
Retrieves the type of subscriber.

Types of associated events - Authorization and tracking.

Returns:
Subscriber type.

getDownstreamBandwidth

public long getDownstreamBandwidth()
Retrieves the downstream bandwidth (from the network to the subscriber) that is available for the service.

Types of associated events - ServiceAuthorization, ServiceTracking.

Returns:
Downstream bandwidth for the service; NO_VALUE if the attribute is not available in this plug-in event.

getUpstreamBandwidth

public long getUpstreamBandwidth()
Retrieves the upstream bandwidth (from the subscriber to the network) that is available for the service.

Types of associated events - ServiceAuthorization, ServiceTracking.

Returns:
Upstream bandwidth for the service; NO_VALUE if the attribute is not available in this plug-in event.

getInOctets

public long getInOctets()
Retrieves the number of 64-bit upstream (from the subscriber to the network) octets.

Types of associated events - StopServiceTracking, InterimServiceTracking.

Returns:
Number of 64-bit upstream octets; NO_VALUE if the attribute is not available in this plug-in event.

getOutOctets

public long getOutOctets()
Retrieves the number of 64-bit downstream (from the network to the subscriber) octets.

Types of associated events - StopServiceTracking, InterimServiceTracking.

Returns:
Number of 64-bit downstream octets; NO_VALUE if the attribute is not available in this plug-in event.

getInPackets

public long getInPackets()
Retrieves the number of 64-bit upstream (from the subscriber to the network) packets.

Types of associated events - StopServiceTracking, InterimServiceTracking.

Returns:
Number of 64-bit upstream packets; NO_VALUE if the attribute is not available in this plugin event.

getOutPackets

public long getOutPackets()
Retrieves the number of 64-bit downstream (from the network to the subscriber) packets.

Types of associated events - StopServiceTracking, InterimServiceTracking.

Returns:
Number of 64-bit downstream packets; NO_VALUE if the attribute is not available in this plugin event.

getServiceName

public String getServiceName()
Retrieves the name of service.

Types of associated events - ServiceAuthorization, SubscriptionAuthorization, ServiceTracking.

Returns:
Name of the service; null if the attribute is not available in this plug-in event.

getServiceScope

public String getServiceScope()
Retrieves the list of service scopes.

Types of associated events - ServiceAuthorization, ServiceTracking.

Returns:
List of service scopes; null if the attribute is not available in this plug-in event.

getServiceSessionName

public String getServiceSessionName()
Retrieves the name of service session.

Types of associated events - ServiceTracking.

Returns:
Name of service session; null if the attribute is not available in this plug-in event.

getServiceSessionTag

public String getServiceSessionTag()
Retrieves the tag of service session.

Types of associated events - ServiceTracking.

Returns:
Tag for the service session; null if the attribute is not available in this plug-in event.

getSessionTimeout

public long getSessionTimeout()
Retrieves the maximum length of the session in seconds.

Types of associated events - ServiceAuthorization, UserAuthorization, Tracking.

Returns:
Maximum length of the session in seconds; NO_VALUE if the attribute is not available in this plug-in event.

getSubscriptionName

public String getSubscriptionName()
Retrieves the name of the subscription.

Types of associated events - ServiceTracking.

Returns:
Name of the subscription; null if the attribute is not available in this plug-in event.

getIfSessionId

public String getIfSessionId()
Retrieves the identifier for RADIUS accounting of the underlying router interface. This attribute is not supported on JUNOS routing platforms.

Types of associated events - Tracking.

Returns:
Identifier for RADIUS accounting of the underlying router interface; null if the attribute is not available in this plug-in event.

getUserRadiusClass

public String[] getUserRadiusClass()
Retrieves the RADIUS class of the subscriber session for a service.

Types of associated events - ServiceTracking.

Returns:
RADIUS class of the subscriber session for a service; an empty String array if the attribute is not available in this plug-in event.

getUserSessionId

public String getUserSessionId()
Retrieves the identifier of RADIUS sessions for subscriber sessions.

Types of associated events - ServiceAuthorization.

Returns:
Identifier of RADIUS sessions for subscriber sessions; null if the attribute is not available in this plug-in event.

getPrimaryUserName

public String getPrimaryUserName()
Retrieves pppLoginName or publicDhcpUserName. This attribute is not supported on JUNOS routing platforms.

Types of associated events - Authorization and tracking.

Returns:
pppLoginName or publicDhcpUserName

getSessionId

public String getSessionId()
Retrieves the RADIUS session ID.

Types of associated events - Authorization and tracking.

Returns:
RADIUS session ID.

getSessionTime

public long getSessionTime()
Retrieves the length of session in seconds.

Types of associated events - StopTracking, InterimTracking.

Returns:
Length of session in seconds; NO_VALUE if the attribute is not available in this plug-in event.

getTerminateCause

public long getTerminateCause()
Retrieves the cause of RADIUS termination.

Types of associated events - StopTracking.

Returns:
Cause of RADIUS termination; NO_VALUE if the attribute is not available in this plug-in event.

getUid

public String getUid()
Retrieves the subscriber ID used for secondary authentication.

Types of associated events - Authorization.

Returns:
Subscriber ID used for secondary authentication; null if the attribute is not available in this plug-in event.

getDomain

public String getDomain()
Retrieves the domain for secondary authentication.

Types of associated events - Authorization.

Returns:
Domain for secondary authentication; null if the attribute is not available in this plug-in event.

getRetailerDn

public String getRetailerDn()
Retrieves the distinguished name (DN) of the retailer that is associated with the domain.

Types of associated events - Authorization.

Returns:
Retailer DN associated with the domain; null if the attribute is not available in this plug-in event.

getPassword

public String getPassword()
Retrieves the password for secondary authentication.

Types of associated events - Authorization.

Returns:
Password for secondary authentication; null if the attribute is not available in this plug-in event.

getIfIndex

public long getIfIndex()
Retrieves the SNMP index of interface. This attribute is not supported on JUNOS routing platforms.

Types of associated events - InterfaceTracking.

Returns:
SNMP index of the interface; NO_VALUE if the attribute is not available in this plug-in event.

getUserInetAddress

public InetAddress getUserInetAddress()
Retrieves the IP address of the subscriber. This method is equivalent to getUserIpAddress() for IPv4, but it allows extension to IPv6 (which is not yet supported in the SDX software).

Types of associated events - Authorization and tracking.

Returns:
IP address of the subscriber.

getNasInetAddress

public InetAddress getNasInetAddress()
Retrieves the IP address of the router. This method is equivalent to getNasIp() for IPv4, but it allows extension to IPv6 (which is not yet supported in the SDX software).

Types of associated events - Authorization and tracking.

Returns:
IP address of the router.

getAggrSessionId

public String getAggrSessionId()
Retrieves the accounting session ID of an aggregate service session. This attribute includes the ID of the SAE that started the session.

Types of associated events - ServiceTracking.

Returns:
Accounting session ID of the aggregate service session; null if the attribute is not available in this plug-in event.

getAggrLoginName

public String getAggrLoginName()
Retrieves the login name of the subscriber who started an aggregate service session.

Types of associated events - ServiceTracking.

Returns:
Login name of the subscriber; null if the attribute is not available in this plug-in event.

getAggrUserDn

public String getAggrUserDn()
Retrieves the distinguished name (DN) of user profile of the subscriber who started an aggregate service session.

Types of associated events - ServiceTracking.

Returns:
DN of user profile; null if the attribute is not available in this plug-in event.

getAggrUserInetAddress

public InetAddress getAggrUserInetAddress()
Retrieves the IP address of the subscriber who started an aggregate service session.

Types of associated events - ServiceTracking.

Returns:
IP address of the subscriber; null if the attribute is not available in this plug-in event.

getAggrAccountingId

public String getAggrAccountingId()
Retrieves the accounting ID of the subscriber who started an aggregate service session.

Types of associated events - ServiceTracking.

Returns:
Accounting ID of the subscriber; null if the attribute is not available in this plug-in event.

getAggrAuthUserId

public String getAggrAuthUserId()
Retrieves the user ID that was used to authenticate an aggregate service session.

Types of associated events - ServiceTracking.

Returns:
User ID; null if the attribute is not available in this plug-in event.

getInterimTime

public long getInterimTime()
Retrieves the accounting interim time in seconds.

Types of associated events - Tracking.

Returns:
Accounting interim time in seconds; NO_VALUE if the attribute is not available in this plug-in event.

getManagerId

public String getManagerId()
Retrieves the distinguished name (DN) of the IT administrator.

Types of associated events - Tracking.

Returns:
DN of the IT administrator; null if the attribute is not available in this plug-in event.

getOperational

public long getOperational()
Retrieves the flag that identifies whether an interface was operational at the time of an event.

Types of associated events - StopServiceTracking, InterimServiceTracking.

Returns:
Flag that identifies whether an interface was operational at the time of the event; NO_VALUE if the attribute is not available in this plug-in event.

Core API 6.4