reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
ReproRADIUSServerAuthManager.hxx
Go to the documentation of this file.
1#if !defined(REPRO_RADIUSSERVERAUTHMANAGER_HXX)
2#define REPRO_RADIUSSERVERAUTHMANAGER_HXX
3
4#include <map>
5#include <vector>
6
7#if defined(HAVE_CONFIG_H)
8 #include "config.h"
9#endif
10
11#include "rutil/AsyncBool.hxx"
12#include "resip/stack/Auth.hxx"
17
18#ifdef USE_RADIUS_CLIENT
19
20namespace resip
21{
22class Profile;
23class DialogUsageManager;
24}
25
26namespace repro
27{
28class AclStore;
29
30class ReproRADIUSServerAuthManager: public resip::RADIUSServerAuthManager
31{
32 public:
34 AclStore& aclDb,
35 bool useAuthInt,
36 bool rejectBadNonces,
40 const std::vector<resip::DigestType>& challengeDigestTypes = std::vector<resip::DigestType>());
41
43
44 protected:
45 virtual bool useAuthInt() const;
46 virtual bool rejectBadNonces() const;
47 virtual resip::AsyncBool requiresChallenge(const resip::SipMessage& msg);
48
49 private:
50 AclStore& mAclDb;
51 bool mUseAuthInt;
52 bool mRejectBadNonces;
53};
54
55
56}
57
58#endif
59
60#endif
61
62/* ====================================================================
63 *
64 * Copyright (c) 2026 SIP Spectrum, Inc. https://www.sipspectrum.com
65 * Copyright 2013 Daniel Pocock http://danielpocock.com
66 * All rights reserved.
67 *
68 * Redistribution and use in source and binary forms, with or without
69 * modification, are permitted provided that the following conditions
70 * are met:
71 *
72 * 1. Redistributions of source code must retain the above copyright
73 * notice, this list of conditions and the following disclaimer.
74 *
75 * 2. Redistributions in binary form must reproduce the above copyright
76 * notice, this list of conditions and the following disclaimer in
77 * the documentation and/or other materials provided with the
78 * distribution.
79 *
80 * 3. Neither the name of the author(s) nor the names of any contributors
81 * may be used to endorse or promote products derived from this software
82 * without specific prior written permission.
83 *
84 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS "AS IS" AND
85 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
86 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
87 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE LIABLE
88 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
89 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
90 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
91 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
92 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
93 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
94 * SUCH DAMAGE.
95 *
96 * ====================================================================
97 *
98 *
99 */
100
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
Definition Data.hxx:90
Represents a SIP message.
This Class is used to implement a primitive form of RPC using loose XML formatting.
dcm! – add UnusedChecking(_enum) below;
void list()
Definition userAdmin.cxx:66