Interface RadiusGatewayConfigurationMBean
- All Known Implementing Classes:
RadiusGatewayConfiguration
public interface RadiusGatewayConfigurationMBean
The MBean interface to configuration settings used by RadiusGateway.
-
Method Summary
Modifier and TypeMethodDescriptionintintReturns port number of NAS client for sending disconnect messagesintintintReturns the wallet location where password is stored.intReturns the number of threads which handles I/OintgetName()Returns the radius gateway traffic name.intReturns The number of challenges to be exchanged during authentication.intReturns Port the RGW instance is listening onReturns the password(***) to display on jconsole.voidsetDisconnectMessageMaxRetryCount(int disconnectMessageMaxRetryCount) voidsetDisconnectMessagePort(int port) Sets the port for NAS server for sending disconnect messages.voidsetDisconnectMessageResponseTimeoutMillis(int disconnectMessageResponseTimeoutMillis) voidsetDisconnectMessageRetryDelayMillis(int disconnectMessageRetryDelayMillis) voidsetDisconnectMessageRetryThreadPoolSize(int disconnectMessageRetryThreadPoolSize) voidsetEceWalletLocation(String walletLocation) Sets the Wallet LocationvoidsetIoThreadPoolSize(int thread_pool_size) Sets the I/O Thread Pool Size.voidsetKafkaBatchSize(int kafkaBatchSize) voidSets the Name of the Radius Gateway instance This is the name radius of gateway .voidsetNoOfChallenges(int challenges) Sets The number of challenges to be exchanged during authentication.voidsetRadiusTrafficPort(int port) Sets the radius gateway traffic port.voidsetSharedSecret(String shared_secret, String walletPassword) Method to set the shared secret.
-
Method Details
-
getName
String getName()Returns the radius gateway traffic name.- Returns:
- the Name of the Radius Gateway instance
-
setName
Sets the Name of the Radius Gateway instance This is the name radius of gateway .- Parameters:
name- of the Radius Gateway instance
-
getRadiusTrafficPort
int getRadiusTrafficPort()Returns Port the RGW instance is listening on- Returns:
- the Port the RGW instance is listening on
-
setRadiusTrafficPort
void setRadiusTrafficPort(int port) Sets the radius gateway traffic port. This is the port number radius gateway expects receiving traffic.- Parameters:
port- port to listen for request
-
getIoThreadPoolSize
int getIoThreadPoolSize()Returns the number of threads which handles I/O- Returns:
- number of threads which will concurrently log requests to a file
-
setIoThreadPoolSize
void setIoThreadPoolSize(int thread_pool_size) Sets the I/O Thread Pool Size.- Parameters:
thread_pool_size- number of threads in the threadPool for concurrent handling of request
-
getNoOfChallenges
int getNoOfChallenges()Returns The number of challenges to be exchanged during authentication.- Returns:
- The number of challenges to be exchanged during authentication.
-
setNoOfChallenges
void setNoOfChallenges(int challenges) Sets The number of challenges to be exchanged during authentication.- Parameters:
challenges- to be exchanged during authentication.
-
getEceWalletLocation
String getEceWalletLocation()Returns the wallet location where password is stored.- Returns:
- wallet location
-
setEceWalletLocation
Sets the Wallet Location- Parameters:
walletLocation- ECE Wallet location
-
getDisconnectMessagePort
int getDisconnectMessagePort()Returns port number of NAS client for sending disconnect messages- Returns:
- port number of NAS client for sending disconnect messages
-
setDisconnectMessagePort
void setDisconnectMessagePort(int port) Sets the port for NAS server for sending disconnect messages.- Parameters:
port- NAS server port number for disconnect messages.
-
getKafkaBatchSize
int getKafkaBatchSize()- Returns:
- Kafka batch size in integer of messages to be polled.
-
setKafkaBatchSize
void setKafkaBatchSize(int kafkaBatchSize) - Parameters:
kafkaBatchSize- , Kafka batch size in integer of messages to be polled.
-
getDisconnectMessageRetryThreadPoolSize
int getDisconnectMessageRetryThreadPoolSize()- Returns:
- size of the scheduled thread pool executor in integer to resend disconnect messages.
-
setDisconnectMessageRetryThreadPoolSize
void setDisconnectMessageRetryThreadPoolSize(int disconnectMessageRetryThreadPoolSize) - Parameters:
disconnectMessageRetryThreadPoolSize- , the size in integer of the scheduled thread pool executor to resend disconnect messages.
-
getDisconnectMessageMaxRetryCount
int getDisconnectMessageMaxRetryCount()- Returns:
- maximum retry count in integer of a disconnect message.
-
setDisconnectMessageMaxRetryCount
void setDisconnectMessageMaxRetryCount(int disconnectMessageMaxRetryCount) - Parameters:
disconnectMessageMaxRetryCount- , the maximum retry count in integer of a disconnect message.
-
getDisconnectMessageRetryDelayMillis
int getDisconnectMessageRetryDelayMillis()- Returns:
- the gap in milliseconds between two consecutive retries.
-
setDisconnectMessageRetryDelayMillis
void setDisconnectMessageRetryDelayMillis(int disconnectMessageRetryDelayMillis) - Parameters:
disconnectMessageRetryDelayMillis- the gap in milliseconds between two consecutive retries.
-
getDisconnectMessageResponseTimeoutMillis
int getDisconnectMessageResponseTimeoutMillis()- Returns:
- the wait time in millis for receiving a disconnect message response from network.
-
setDisconnectMessageResponseTimeoutMillis
void setDisconnectMessageResponseTimeoutMillis(int disconnectMessageResponseTimeoutMillis) - Parameters:
disconnectMessageResponseTimeoutMillis- the wait time in millis for receiving a disconnect message response from network.
-