Version: 0.6.0
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Variables
Pages
xmlauth.h
1
/******************************************************************************
2
* Project: wxGIS (GIS Server)
3
* Purpose: XML Auth plugin class. Store user info in cofig
4
* Author: Bishop (aka Barishnikov Dmitriy), polimax@mail.ru
5
******************************************************************************
6
* Copyright (C) 2010 Bishop
7
*
8
* This program is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 2 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
****************************************************************************/
21
#pragma once
22
/*
23
#include "wxgissrv/srv_auth/auth.h"
24
#include "wxgissrv/srv_framework/auth.h"
25
29
/*
30
class wxGISXmlAuthPlugin :
31
public wxObject,
32
public IServerAuthPlugin
33
{
34
DECLARE_DYNAMIC_CLASS(wxGISXmlAuthPlugin)
35
public:
36
wxGISXmlAuthPlugin(void);
37
virtual ~wxGISXmlAuthPlugin(void);
38
//IServerAuthPlugin
39
virtual AUTHRESPOND GetAuth(wxString sLogin, wxString sCryptPass);
40
virtual bool Init(wxXmlNode* pConfig);
41
protected:
42
wxXmlNode* m_pConfig;
43
std::vector<USERINFO> m_UserArray;
44
45
};
46
*/
include
wxgissrv
srv_framework
xmlauth.h
Generated on Fri Sep 26 2014 01:10:56 for ngm by
1.8.6