|
reSIProcate/repro
9694
|
00001 #if !defined(RESIP_ISTRUSTEDNODE_REQUEST_PROCESSOR_HXX) 00002 #define RESIP_ISTRUSTEDNODE_REQUEST_PROCESSOR_HXX 00003 #include "repro/Processor.hxx" 00004 #include "rutil/KeyValueStore.hxx" 00005 00006 #include <iosfwd> 00007 00008 namespace repro 00009 { 00010 class AclStore; 00011 class ProxyConfig; 00012 00013 class IsTrustedNode: public Processor 00014 { 00015 public: 00016 static resip::KeyValueStore::Key mFromTrustedNodeKey; 00017 00018 IsTrustedNode(ProxyConfig& config); 00019 virtual ~IsTrustedNode(); 00020 00021 virtual processor_action_t process(RequestContext &); 00022 00023 private: 00024 AclStore& mAclStore; 00025 }; 00026 } 00027 #endif 00028 00029 /* ==================================================================== 00030 * The Vovida Software License, Version 1.0 00031 * 00032 * Copyright (c) 2000 Vovida Networks, Inc. All rights reserved. 00033 * 00034 * Redistribution and use in source and binary forms, with or without 00035 * modification, are permitted provided that the following conditions 00036 * are met: 00037 * 00038 * 1. Redistributions of source code must retain the above copyright 00039 * notice, this list of conditions and the following disclaimer. 00040 * 00041 * 2. Redistributions in binary form must reproduce the above copyright 00042 * notice, this list of conditions and the following disclaimer in 00043 * the documentation and/or other materials provided with the 00044 * distribution. 00045 * 00046 * 3. The names "VOCAL", "Vovida Open Communication Application Library", 00047 * and "Vovida Open Communication Application Library (VOCAL)" must 00048 * not be used to endorse or promote products derived from this 00049 * software without prior written permission. For written 00050 * permission, please contact vocal@vovida.org. 00051 * 00052 * 4. Products derived from this software may not be called "VOCAL", nor 00053 * may "VOCAL" appear in their name, without prior written 00054 * permission of Vovida Networks, Inc. 00055 * 00056 * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED 00057 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 00058 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND 00059 * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL VOVIDA 00060 * NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES 00061 * IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL, 00062 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 00063 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 00064 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 00065 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 00066 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 00067 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 00068 * DAMAGE. 00069 * 00070 * ==================================================================== 00071 * 00072 * This software consists of voluntary contributions made by Vovida 00073 * Networks, Inc. and many individuals on behalf of Vovida Networks, 00074 * Inc. For more information on Vovida Networks, Inc., please see 00075 * <http://www.vovida.org/>. 00076 * 00077 */
1.7.5.1