sbuild
1.7.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
lib
sbuild
auth
deny.h
1
/* Copyright © 2005-2013 Roger Leigh <rleigh@debian.org>
2
*
3
* schroot is free software: you can redistribute it and/or modify it
4
* under the terms of the GNU General Public License as published by
5
* the Free Software Foundation, either version 3 of the License, or
6
* (at your option) any later version.
7
*
8
* schroot is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
* General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see
15
* <http://www.gnu.org/licenses/>.
16
*
17
*********************************************************************/
18
19
#ifndef SBUILD_AUTH_DENY_H
20
#define SBUILD_AUTH_DENY_H
21
22
#include <sbuild/auth/auth.h>
23
24
namespace
sbuild
25
{
26
namespace
auth
27
{
28
36
class
deny
:
public
auth
37
{
38
private
:
47
deny
(
const
std::string& service_name);
48
49
public
:
53
virtual
~deny
();
54
64
static
auth::ptr
65
create
(
const
std::string& service_name);
66
73
virtual
environment
74
get_auth_environment
()
const
;
75
76
virtual
void
77
start
();
78
79
virtual
void
80
stop
();
81
82
virtual
void
83
authenticate
(
status
auth_status);
84
85
virtual
bool
86
is_initialised
()
const
;
87
88
protected
:
90
bool
initialised
;
92
environment
auth_environment
;
93
};
94
95
}
96
}
97
98
#endif
/* SBUILD_AUTH_DENY_H */
99
100
/*
101
* Local Variables:
102
* mode:C++
103
* End:
104
*/
Generated on Wed Oct 2 2013 10:21:07 for sbuild by
1.8.4