Class AgentManager
java.lang.Object
public final class AgentManager extends bitel.billing.server.admin.auth.http.HttpAuth<Agent,java.sql.Connection,java.lang.Integer,Conf>
-
Field Summary
Fields inherited from class bitel.billing.server.admin.auth.Auth
log
-
Constructor Summary
Constructors Constructor Description AgentManager(java.sql.Connection con, int mid)
AgentManager(Setup setup)
-
Method Summary
Modifier and Type Method Description void
deleteAgent(int id)
Agent
getAgent(int id)
java.util.List<Agent>
getAgentList(java.lang.String title)
protected Agent
getLogin(javax.servlet.http.HttpServletRequest request, java.sql.Connection con, java.lang.Integer mid, Conf conf, java.lang.String[] baseAuth)
protected boolean
isNeedBaseAuth(Agent a, java.sql.Connection b, java.lang.Integer c, Conf d)
protected boolean
isNeedCertificateAuth(Agent a, java.sql.Connection b, java.lang.Integer c, Conf d)
protected boolean
isNeedSecureConnection(Agent a, java.sql.Connection b, java.lang.Integer c, Conf conf)
void
updateAgent(Agent agent)
Methods inherited from class bitel.billing.server.admin.auth.http.HttpAuth
checkCertificate, getBasicAuth, login
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AgentManager
public AgentManager(java.sql.Connection con, int mid) -
AgentManager
-
-
Method Details
-
getAgent
-
getAgentList
-
deleteAgent
public void deleteAgent(int id) -
updateAgent
- Throws:
ru.bitel.bgbilling.common.BGException
-
getLogin
-
isNeedBaseAuth
-
isNeedCertificateAuth
-
isNeedSecureConnection
-