N
- P
- public class RadiusSession<N extends ru.bitel.bgbilling.kernel.network.radius.nas.Nas<?,?,?>,P>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RadiusSession.State |
Modifier and Type | Field and Description |
---|---|
Contract |
contract |
int |
errorCode |
protected long |
killTime |
java.lang.Object |
login |
P |
sessionParams |
byte[] |
stateAttribute |
java.lang.String |
userName |
RadiusAttribute.RadiusAttributeString |
userNameAttribute |
Constructor and Description |
---|
RadiusSession(byte[] state,
java.lang.String userName,
RadiusAttribute.RadiusAttributeString userNameAttribute,
P sessionParams) |
Modifier and Type | Method and Description |
---|---|
void |
accessRequest(RadiusProcessor<?,N,P> processor,
RadiusListenerWorker<N> req,
N nas,
RadiusPacket request,
RadiusPacket response,
ConnectionSet connectionSet,
int log_record_id)
Сессионная обработка Access-Request.
|
int |
authentication(RadiusProcessor<?,N,P> processor,
RadiusListenerWorker<N> req,
N nas,
RadiusPacket request,
RadiusPacket response,
ConnectionSet connectionSet,
int log_record_id)
Сама аутентификация в модуле.
|
boolean |
checkPassword(ru.bitel.bgbilling.kernel.network.radius.nas.Nas<?,?,?> nas,
RadiusAttributeSet request,
RadiusAttributeSet response,
java.lang.String openPassw,
byte[] secret,
byte[] authenticator) |
public final byte[] stateAttribute
public final java.lang.String userName
public final RadiusAttribute.RadiusAttributeString userNameAttribute
public final P sessionParams
public java.lang.Object login
public Contract contract
public int errorCode
protected volatile long killTime
public RadiusSession(byte[] state, java.lang.String userName, RadiusAttribute.RadiusAttributeString userNameAttribute, P sessionParams)
public void accessRequest(RadiusProcessor<?,N,P> processor, RadiusListenerWorker<N> req, N nas, RadiusPacket request, RadiusPacket response, ConnectionSet connectionSet, int log_record_id)
RadiusProcessor#authentication(Nas, RadiusSession, RadiusPacket, RadiusPacket, Connection, Connection, int)
Т.е. физически сессии нет - это один запрос-ответ. Возможно расширение для реализации, например eap.processor
- nas
- request
- response
- con
- conSlave
- TODOlog_record_id
- public int authentication(RadiusProcessor<?,N,P> processor, RadiusListenerWorker<N> req, N nas, RadiusPacket request, RadiusPacket response, ConnectionSet connectionSet, int log_record_id)
processor
- req
- TODOnas
- request
- response
- log_record_id
- con
- conSlave
- TODOpublic boolean checkPassword(ru.bitel.bgbilling.kernel.network.radius.nas.Nas<?,?,?> nas, RadiusAttributeSet request, RadiusAttributeSet response, java.lang.String openPassw, byte[] secret, byte[] authenticator)