public interface JRadiusSession extends Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
ACCT_ONLY_STARTED |
static int |
ACCT_ONLY_STOPPED |
static int |
ACCT_STARTED |
static int |
ACCT_STOPPED |
static int |
AUTH_ACCEPTED |
static int |
AUTH_PENDING |
static int |
AUTH_REJECTED |
static int |
RADIUS_ERROR |
static long |
serialVersionUID |
static String |
SESSION_ATTRIBUTE_LOCATION_CITY |
static String |
SESSION_ATTRIBUTE_LOCATION_COUNTRY_CODE |
static String |
SESSION_ATTRIBUTE_LOCATION_ID |
static String |
SESSION_ATTRIBUTE_LOCATION_NAME |
static String |
SESSION_ATTRIBUTE_LOCATION_STATE_PROVINCE |
static String |
SESSION_ATTRIBUTE_LOCATION_TYPE |
static int |
SESSION_STARTED |
static int |
SESSION_STOPPED |
static int |
UNKNOWN_STATE |
static final long serialVersionUID
static final int RADIUS_ERROR
static final int UNKNOWN_STATE
static final int AUTH_PENDING
static final int AUTH_ACCEPTED
static final int AUTH_REJECTED
static final int ACCT_STARTED
static final int ACCT_STOPPED
static final int SESSION_STARTED
static final int SESSION_STOPPED
static final int ACCT_ONLY_STARTED
static final int ACCT_ONLY_STOPPED
static final String SESSION_ATTRIBUTE_LOCATION_ID
static final String SESSION_ATTRIBUTE_LOCATION_TYPE
static final String SESSION_ATTRIBUTE_LOCATION_NAME
static final String SESSION_ATTRIBUTE_LOCATION_CITY
static final String SESSION_ATTRIBUTE_LOCATION_STATE_PROVINCE
static final String SESSION_ATTRIBUTE_LOCATION_COUNTRY_CODE
JRadiusLogEntry getLogEntry(JRadiusEvent event, String key)
JRadiusLogEntry getLogEntry(JRadiusRequest request) throws RadiusException
RadiusExceptionvoid addLogMessage(JRadiusRequest request, String message) throws RadiusException
RadiusExceptionvoid commitLogEntry(JRadiusLogEntry entry, int result)
void commitLogEntries(int result)
void lock()
void unlock()
void initSession(JRadiusRequest request) throws RadiusException
request - The JRadiusRequestRadiusExceptionvoid setAttribute(String name, Serializable value)
Serializable getAttribute(String name)
void onPostProcessing(JRadiusRequest request) throws RadiusException
RadiusExceptionvoid onAuthorization(JRadiusRequest request) throws RadiusException
RadiusExceptionboolean onPreProcessing(JRadiusRequest request) throws RadiusException
RadiusExceptionvoid onPostAuthentication(JRadiusRequest request) throws RadiusException
RadiusExceptionvoid onAccounting(JRadiusRequest request) throws RadiusException
request - RadiusExceptionboolean onNoAccountingStatusType(JRadiusRequest request) throws RadiusException
RadiusExceptionvoid ensureSessionState(JRadiusRequest request, int state) throws RadiusException
RadiusExceptionboolean isAccountingReversed()
String getUsername()
void setUsername(String username)
username - The username to set.String getRealm()
void setRealm(String realm)
realm - The realm to set.String getPassword()
void setPassword(String password)
password - The password to set.String getSessionKey()
void setSessionKey(String sessionKey)
sessionKey - The sessionKey to set.String getSessionId()
void setSessionId(String sessionId)
sessionId - The sessionId to set.Long getServiceType()
void setServiceType(Long serviceType)
serviceType - The serviceType to set.Long getIdleTimeout()
void setIdleTimeout(Long idleTimeout)
idleTimeout - The idleTimeout to set.Long getInterimInterval()
void setInterimInterval(Long interimInterval)
interimInterval - The interimInterval to set.Long getSessionTimeout()
void setSessionTimeout(Long sessionTimeout)
sessionTimeout - The sessionTimeout to set.Long getSessionTime()
void setSessionTime(Long sessionTime)
sessionTime - The sessionTime to set.Date getStartTime()
void setStartTime(Date startTime)
startTime - The startTime to set.Date getLastInterimTime()
void setLastInterimTime(Date lastInterimTime)
lastInterimTime - The lastInterimTime to set.Date getStopTime()
void setStopTime(Date stopTime)
stopTime - The stopTime to set.Long getGigaWordsIn()
void setGigaWordsIn(Long gigaWordsIn)
gigaWordsIn - The gigaWordsIn to set.Long getGigaWordsOut()
void setGigaWordsOut(Long gigaWordsOut)
gigaWordsOut - The gigaWordsOut to set.Long getOctetsIn()
void setOctetsIn(Long octetsIn)
octetsIn - The octetsIn to set.Long getOctetsOut()
void setOctetsOut(Long octetsOut)
octetsOut - The octetsOut to set.Long getTotalOctetsIn()
Long getTotalOctetsOut()
Long getPacketsIn()
void setPacketsIn(Long packetsIn)
packetsIn - The packetsIn to set.Long getPacketsOut()
void setPacketsOut(Long packetsOut)
packetsOut - The packetsOut to set.Long getTerminateCause()
void setTerminateCause(Long terminateCause)
terminateCause - The terminateCause to set.byte[][] getRadiusClass()
void setRadiusClass(byte[][] radiusClass)
radiusClass - The radiusClass to set.byte[] getRadiusState()
void setRadiusState(byte[] radiusState)
radiusState - The radiusState to set.int getSessionState()
void setSessionState(int sessionState)
sessionState - The sessionState to set.String getProxyToRealm()
void setProxyToRealm(String proxyToRealm)
proxyToRealm - The proxyToRealm to set.boolean isSecured()
void setSecured(boolean secured)
secured - The secured to set.String getCalledStationId()
void setCalledStationId(String calledStationId)
calledStationId - The calledStationId to set.String getCallingStationId()
void setCallingStationId(String callingStationId)
callingStationId - The callingStationId to set.String getConnectInfo()
void setConnectInfo(String connectInfo)
connectInfo - The connectInfo to set.String getClientIPAddress()
void setClientIPAddress(String clientIPAddress)
clientIPAddress - The clientIPAddress to set.String getNasIdentifier()
void setNasIdentifier(String nasIdentifier)
nasIdentifier - The nasIdentifier to set.String getNasIPAddress()
void setNasIPAddress(String nasIPAddress)
nasIPAddress - The nasIPAddress to set.String getFramedIPAddress()
void setFramedIPAddress(String framedIPAddress)
framedIPAddress - The framedIPAddress to set.long getTimeStamp()
void setTimeStamp(long timeStamp)
timeStamp - The timeStamp to set.Long getMaxBandwidthDown()
void setMaxBandwidthDown(Long maxBandwidthDown)
Long getMaxBandwidthUp()
void setMaxBandwidthUp(Long maxBandwidthUp)
Long getMinBandwidthDown()
void setMinBandwidthDown(Long minBandwidthDown)
Long getMinBandwidthUp()
void setMinBandwidthUp(Long minBandwidthUp)
minBandwidthUp - the minBandwidth to set.Long getMaxOctetsDown()
void setMaxOctetsDown(Long maxOctetsDown)
Long getMaxOctetsUp()
void setMaxOctetsUp(Long maxOctetshUp)
Long getMaxOctetsTotal()
void setMaxOctetsTotal(Long maxOctetsTotal)
String getNasType()
void setNasType(String nasType)
String getRedirectURL()
void setRedirectURL(String redirectURL)
String getJRadiusKey()
void setJRadiusKey(String jRadiusKey)
boolean isLogging()
Copyright © 2017. All rights reserved.