reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
AuthenticatorFactory.hxx
Go to the documentation of this file.
1#if !defined(RESIP_AUTHENTICATORFACTORY_HXX)
2#define RESIP_AUTHENTICATORFACTORY_HXX
3
4#include <memory>
5
9#include "repro/Processor.hxx"
10
11namespace repro
12{
13
15{
16public:
18 virtual ~AuthenticatorFactory() = default;
19
21
22 virtual bool certificateAuthEnabled() = 0;
23
24 virtual std::shared_ptr<resip::DumFeature> getCertificateAuthManager() = 0;
25 virtual std::unique_ptr<Processor> getCertificateAuthenticator() = 0;
26
27 virtual bool digestAuthEnabled() = 0;
28
29 virtual std::shared_ptr<resip::ServerAuthManager> getServerAuthManager() = 0;
30 virtual std::unique_ptr<Processor> getDigestAuthenticator() = 0;
32};
33
34}
35
36#endif
37
38/* ====================================================================
39 * BSD License
40 *
41 * Copyright (c) 2013 Daniel Pocock http://danielpocock.com All rights reserved.
42 *
43 * Redistribution and use in source and binary forms, with or without
44 * modification, are permitted provided that the following conditions
45 * are met:
46 *
47 * 1. Redistributions of source code must retain the above copyright
48 * notice, this list of conditions and the following disclaimer.
49 *
50 * 2. Redistributions in binary form must reproduce the above copyright
51 * notice, this list of conditions and the following disclaimer in
52 * the documentation and/or other materials provided with the
53 * distribution.
54 *
55 * 3. Neither the name of the author(s) nor the names of any contributors
56 * may be used to endorse or promote products derived from this software
57 * without specific prior written permission.
58 *
59 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS "AS IS" AND
60 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
61 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
62 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE LIABLE
63 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
64 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
65 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
66 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
67 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
68 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
69 * SUCH DAMAGE.
70 *
71 * ====================================================================
72 *
73 */
74
virtual ~AuthenticatorFactory()=default
virtual std::shared_ptr< resip::DumFeature > getCertificateAuthManager()=0
virtual std::unique_ptr< Processor > getCertificateAuthenticator()=0
virtual std::unique_ptr< Processor > getDigestAuthenticator()=0
virtual resip::Dispatcher * getDispatcher()=0
virtual bool digestAuthEnabled()=0
virtual bool certificateAuthEnabled()=0
virtual void setDum(resip::DialogUsageManager *dum)=0
virtual std::shared_ptr< resip::ServerAuthManager > getServerAuthManager()=0
A generic thread-bank class.
This Class is used to implement a primitive form of RPC using loose XML formatting.
void list()
Definition userAdmin.cxx:66