#include <Tacacs.h>
Inheritance diagram for tacpp::TacacsServerAuthorization:
Public Member Functions | |
bool | get_request (unsigned char *, unsigned char *, int *, int *, int *, int *, char *, char *, char *, char **avpair) |
bool | send_response (const int, const char *, const char *, char **) |
bool | optional (char *) |
bool | mandatory (char *) |
bool | match_attr (char *, char *) |
bool | match_value (char *, char *) |
char * | get_value (char *) |
TacacsServerAuthorization (TacacsPacket *, bool) | |
~TacacsServerAuthorization () | |
Public Attributes | |
int | method |
int | priv_lvl |
int | authen_type |
int | authen_service |
char | user [USERNAME_LEN] |
char | port [PORT_LEN] |
char | rem_addr [REM_ADDR_LEN] |
db_user | dbd |
char * | curService |
char * | curProtocol |
int | added |
int | replaced |
int | start_av |
char * | avpair [MAX_AVP] |
char * | bavpair [MAX_AVP] |
char * | nas_avp |
regex_t | preg |
size_t | nmatch |
regmatch_t | pmatch [2] |
bool | flag1 |
bool | flag2 |
bool | flag3 |
bool | flag4 |
int | j |
char * | avps [MAX_AVP] |
bool | def_author |
TacacsPacket * | t |
|
init |
|
free |
|
get authorization request |
|
get value from avp |
|
is this value mandatory? |
|
is attrs match? |
|
is values match? |
|
is this value optional? |
|
send res |
|
added flag |
|
authen service |
|
authen type |
|
for av, which we are receive from cisco |
|
avps |
|
for av, which we are send to cisco |
|
store protocol= |
|
store service= |
|
for user information storage |
|
default authorization flag |
|
flag1 |
|
flag2 |
|
flag3 |
|
flag4 |
|
j |
|
method |
|
keep current avpair |
|
nmatch |
|
pmatch |
|
port |
|
preg |
|
priv level |
|
rem addr |
|
replaced flag |
|
start av |
|
packet processor ptr |
|
user |