java.lang.Object
java.util.Observable
oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
oracle.communication.brm.charging.appconfiguration.beans.radiusgateway.RadiusGatewayConfiguration
All Implemented Interfaces:
Cloneable, RadiusGatewayConfigurationMBean, oracle.communication.brm.charging.appconfiguration.ChildConfigBean, oracle.communication.brm.charging.appconfiguration.ConfigurationBean, oracle.communication.brm.charging.util.directevolution.DEvolvable

public class RadiusGatewayConfiguration extends oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean implements RadiusGatewayConfigurationMBean, oracle.communication.brm.charging.appconfiguration.ChildConfigBean
This class represents the configuration bean for the RadiusGateway. All available configuration values are present in this bean. The bean is populated with values that are present in an xml configuration file. The bean will default to certain value below if values are not present in the supplied xml file.
  • Field Details

  • Constructor Details

    • RadiusGatewayConfiguration

      public RadiusGatewayConfiguration()
      Default constructor
    • RadiusGatewayConfiguration

      public RadiusGatewayConfiguration(String name, String beanId)
      Constructor
      Parameters:
      name - bean name
      beanId - bean id
  • Method Details

    • giveInitializerTo

      public void giveInitializerTo(oracle.communication.brm.charging.util.directevolution.DEvolvableHelper DEvolvableHelper)
      Specified by:
      giveInitializerTo in interface oracle.communication.brm.charging.util.directevolution.DEvolvable
      Overrides:
      giveInitializerTo in class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
    • createInstance

      public oracle.communication.brm.charging.util.directevolution.DEvolvable createInstance()
      Specified by:
      createInstance in interface oracle.communication.brm.charging.util.directevolution.DEvolvable
    • getEceWalletLocation

      public String getEceWalletLocation()
      Description copied from interface: RadiusGatewayConfigurationMBean
      Returns the wallet location where password is stored.
      Specified by:
      getEceWalletLocation in interface RadiusGatewayConfigurationMBean
      Returns:
      wallet location
    • setEceWalletLocation

      public void setEceWalletLocation(String walletLocation)
      Description copied from interface: RadiusGatewayConfigurationMBean
      Sets the Wallet Location
      Specified by:
      setEceWalletLocation in interface RadiusGatewayConfigurationMBean
      Parameters:
      walletLocation - ECE Wallet location
    • getName

      public String getName()
      Description copied from interface: RadiusGatewayConfigurationMBean
      Returns the radius gateway traffic name.
      Specified by:
      getName in interface oracle.communication.brm.charging.appconfiguration.ChildConfigBean
      Specified by:
      getName in interface RadiusGatewayConfigurationMBean
      Returns:
      the Name of the Radius Gateway instance
    • setName

      public void setName(String name)
      Description copied from interface: RadiusGatewayConfigurationMBean
      Sets the Name of the Radius Gateway instance This is the name radius of gateway .
      Specified by:
      setName in interface oracle.communication.brm.charging.appconfiguration.ChildConfigBean
      Specified by:
      setName in interface RadiusGatewayConfigurationMBean
      Parameters:
      name - of the Radius Gateway instance
    • getClusterName

      public String getClusterName()
      Description copied from interface: oracle.communication.brm.charging.appconfiguration.ChildConfigBean
      Cluster name of the child configuration MBean. This name will be used to construct the Mbean name
      Specified by:
      getClusterName in interface oracle.communication.brm.charging.appconfiguration.ChildConfigBean
      Returns:
      cluster name of the child bean
    • setClusterName

      public void setClusterName(String clusterName)
      Description copied from interface: oracle.communication.brm.charging.appconfiguration.ChildConfigBean
      Cluster name of the child configuration MBean. This name will be used to construct the Mbean name
      Specified by:
      setClusterName in interface oracle.communication.brm.charging.appconfiguration.ChildConfigBean
      Parameters:
      clusterName - cluster name of the child bean
    • getRadiusTrafficPort

      public int getRadiusTrafficPort()
      Description copied from interface: RadiusGatewayConfigurationMBean
      Returns Port the RGW instance is listening on
      Specified by:
      getRadiusTrafficPort in interface RadiusGatewayConfigurationMBean
      Returns:
      the Port the RGW instance is listening on
    • setRadiusTrafficPort

      public void setRadiusTrafficPort(int port)
      Description copied from interface: RadiusGatewayConfigurationMBean
      Sets the radius gateway traffic port. This is the port number radius gateway expects receiving traffic.
      Specified by:
      setRadiusTrafficPort in interface RadiusGatewayConfigurationMBean
      Parameters:
      port - port to listen for request
    • getDisconnectMessagePort

      public int getDisconnectMessagePort()
      Description copied from interface: RadiusGatewayConfigurationMBean
      Returns port number of NAS client for sending disconnect messages
      Specified by:
      getDisconnectMessagePort in interface RadiusGatewayConfigurationMBean
      Returns:
      port number of NAS client for sending disconnect messages
    • setDisconnectMessagePort

      public void setDisconnectMessagePort(int disconnectMessagePort)
      Description copied from interface: RadiusGatewayConfigurationMBean
      Sets the port for NAS server for sending disconnect messages.
      Specified by:
      setDisconnectMessagePort in interface RadiusGatewayConfigurationMBean
      Parameters:
      disconnectMessagePort - NAS server port number for disconnect messages.
    • getIoThreadPoolSize

      public int getIoThreadPoolSize()
      Description copied from interface: RadiusGatewayConfigurationMBean
      Returns the number of threads which handles I/O
      Specified by:
      getIoThreadPoolSize in interface RadiusGatewayConfigurationMBean
      Returns:
      number of threads which will concurrently log requests to a file
    • setIoThreadPoolSize

      public void setIoThreadPoolSize(int thread_pool_size)
      Description copied from interface: RadiusGatewayConfigurationMBean
      Sets the I/O Thread Pool Size.
      Specified by:
      setIoThreadPoolSize in interface RadiusGatewayConfigurationMBean
      Parameters:
      thread_pool_size - number of threads in the threadPool for concurrent handling of request
    • getNoOfChallenges

      public int getNoOfChallenges()
      Description copied from interface: RadiusGatewayConfigurationMBean
      Returns The number of challenges to be exchanged during authentication.
      Specified by:
      getNoOfChallenges in interface RadiusGatewayConfigurationMBean
      Returns:
      The number of challenges to be exchanged during authentication.
    • setNoOfChallenges

      public void setNoOfChallenges(int challenges)
      Description copied from interface: RadiusGatewayConfigurationMBean
      Sets The number of challenges to be exchanged during authentication.
      Specified by:
      setNoOfChallenges in interface RadiusGatewayConfigurationMBean
      Parameters:
      challenges - to be exchanged during authentication.
    • getSharedSecret

      public String getSharedSecret()
      Description copied from interface: RadiusGatewayConfigurationMBean
      Returns the password(***) to display on jconsole.
      Specified by:
      getSharedSecret in interface RadiusGatewayConfigurationMBean
      Returns:
      password(* * *)
    • getSharedSecretFromWallet

      public String getSharedSecretFromWallet()
    • setSharedSecret

      public void setSharedSecret(String shared_secret, String walletPassword)
      Description copied from interface: RadiusGatewayConfigurationMBean
      Method to set the shared secret.
      Specified by:
      setSharedSecret in interface RadiusGatewayConfigurationMBean
      Parameters:
      shared_secret - Shared secret in encrypted string
      walletPassword - walletPassword which need to open the wallet
    • getKafkaBatchSize

      public int getKafkaBatchSize()
      Specified by:
      getKafkaBatchSize in interface RadiusGatewayConfigurationMBean
      Returns:
      Kafka batch size in integer of messages to be polled.
    • setKafkaBatchSize

      public void setKafkaBatchSize(int kafkaBatchSize)
      Specified by:
      setKafkaBatchSize in interface RadiusGatewayConfigurationMBean
      Parameters:
      kafkaBatchSize - , Kafka batch size in integer of messages to be polled.
    • getDisconnectMessageRetryThreadPoolSize

      public int getDisconnectMessageRetryThreadPoolSize()
      Specified by:
      getDisconnectMessageRetryThreadPoolSize in interface RadiusGatewayConfigurationMBean
      Returns:
      size of the scheduled thread pool executor in integer to resend disconnect messages.
    • setDisconnectMessageRetryThreadPoolSize

      public void setDisconnectMessageRetryThreadPoolSize(int disconnectMessageRetryThreadPoolSize)
      Specified by:
      setDisconnectMessageRetryThreadPoolSize in interface RadiusGatewayConfigurationMBean
      Parameters:
      disconnectMessageRetryThreadPoolSize - , the size in integer of the scheduled thread pool executor to resend disconnect messages.
    • getDisconnectMessageMaxRetryCount

      public int getDisconnectMessageMaxRetryCount()
      Specified by:
      getDisconnectMessageMaxRetryCount in interface RadiusGatewayConfigurationMBean
      Returns:
      maximum retry count in integer of a disconnect message.
    • setDisconnectMessageMaxRetryCount

      public void setDisconnectMessageMaxRetryCount(int disconnectMessageMaxRetryCount)
      Specified by:
      setDisconnectMessageMaxRetryCount in interface RadiusGatewayConfigurationMBean
      Parameters:
      disconnectMessageMaxRetryCount - , the maximum retry count in integer of a disconnect message.
    • getDisconnectMessageRetryDelayMillis

      public int getDisconnectMessageRetryDelayMillis()
      Specified by:
      getDisconnectMessageRetryDelayMillis in interface RadiusGatewayConfigurationMBean
      Returns:
      the gap in milliseconds between two consecutive retries.
    • setDisconnectMessageRetryDelayMillis

      public void setDisconnectMessageRetryDelayMillis(int disconnectMessageRetryDelayMillis)
      Specified by:
      setDisconnectMessageRetryDelayMillis in interface RadiusGatewayConfigurationMBean
      Parameters:
      disconnectMessageRetryDelayMillis - the gap in milliseconds between two consecutive retries.
    • getDisconnectMessageResponseTimeoutMillis

      public int getDisconnectMessageResponseTimeoutMillis()
      Specified by:
      getDisconnectMessageResponseTimeoutMillis in interface RadiusGatewayConfigurationMBean
      Returns:
      the wait time in millis for receiving a disconnect message response from network.
    • setDisconnectMessageResponseTimeoutMillis

      public void setDisconnectMessageResponseTimeoutMillis(int disconnectMessageResponseTimeoutMillis)
      Specified by:
      setDisconnectMessageResponseTimeoutMillis in interface RadiusGatewayConfigurationMBean
      Parameters:
      disconnectMessageResponseTimeoutMillis - the wait time in millis for receiving a disconnect message response from network.
    • getImplementingClass

      public Class getImplementingClass()
      Description copied from interface: oracle.communication.brm.charging.appconfiguration.ChildConfigBean
      The implementing class is needed for dynamic instantiation in abstract class.
      Specified by:
      getImplementingClass in interface oracle.communication.brm.charging.appconfiguration.ChildConfigBean
      Returns:
      Implementing class
    • republishAll

      public void republishAll()
      Description copied from interface: oracle.communication.brm.charging.appconfiguration.ConfigurationBean
      Method used to persist and synchronize all app configuration beans to charging-settings.xml.
      Specified by:
      republishAll in interface oracle.communication.brm.charging.appconfiguration.ConfigurationBean
    • handlePrintConfiguration

      public void handlePrintConfiguration(org.apache.logging.log4j.Logger logger)
      Description copied from class: oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
      Method used by subclasses to dump their configuration settings to a log file.
      Specified by:
      handlePrintConfiguration in class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
      Parameters:
      logger - the logger is provided to subclassers for writing their config values.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean