Revision 01d932ad include/RequestManagerPoolInfo.h

View differences:

include/RequestManagerPoolInfo.h
19 19

  
20 20
#include "Request.h"
21 21
#include "Nebula.h"
22
#include "AuthManager.h"
22 23

  
23 24
using namespace std;
24 25

  
......
43 44
    
44 45
    /* -------------------------------------------------------------------- */
45 46

  
46
    PoolSQL *pool;
47
    PoolSQL *           pool;
48
    AuthRequest::Object auth_object;
47 49
};
48 50

  
49 51
/* ------------------------------------------------------------------------- */
......
56 58
        RequestManagerPoolInfo("HostPoolInfo",
57 59
                               "Returns the host pool")
58 60
    {    
59
        Nebula& nd = Nebula::instance();
60
        pool       = nd.get_hpool();
61
        Nebula& nd  = Nebula::instance();
62
        pool        = nd.get_hpool();
63
        auth_object = AuthRequest::HOST;
61 64
    };
62 65

  
63 66
    ~HostPoolInfo(){};
......
75 78
    {    
76 79
        Nebula& nd = Nebula::instance();
77 80
        pool       = nd.get_cpool();
81
        auth_object = AuthRequest::CLUSTER;
78 82
    };
79 83

  
80 84
    ~ClusterPoolInfo(){};
......
97 101
    {    
98 102
        Nebula& nd = Nebula::instance();
99 103
        pool       = nd.get_gpool();
104
        auth_object = AuthRequest::GROUP;
100 105
    };
101 106

  
102 107
    ~GroupPoolInfo(){};
......
112 117
        RequestManagerPoolInfo("UserPoolInfo",
113 118
                               "Returns the user pool")
114 119
    {    
115
        Nebula& nd = Nebula::instance();
116
        pool       = nd.get_upool();
120
        Nebula& nd  = Nebula::instance();
121
        pool        = nd.get_upool();
122
        auth_object = AuthRequest::USER;
117 123
    };
118 124

  
119 125
    ~UserPoolInfo(){};

Also available in: Unified diff