00001 // Filename: httpAuthorization.I 00002 // Created by: drose (22Oct02) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved 00008 // 00009 // All use of this software is subject to the terms of the Panda 3d 00010 // Software license. You should have received a copy of this license 00011 // along with this source code; you will also find a current copy of 00012 // the license at http://www.panda3d.org/license.txt . 00013 // 00014 // To contact the maintainers of this program write to 00015 // panda3d@yahoogroups.com . 00016 // 00017 //////////////////////////////////////////////////////////////////// 00018 00019 00020 //////////////////////////////////////////////////////////////////// 00021 // Function: HTTPAuthorization::get_realm 00022 // Access: Public 00023 // Description: Returns the realm to which this authorization 00024 // applies. This is the server-supplied string that may 00025 // have meaning to the user, and describes the general 00026 // collection of things protected by this password. 00027 //////////////////////////////////////////////////////////////////// 00028 const string &HTTPAuthorization:: 00029 get_realm() const { 00030 return _realm; 00031 } 00032 00033 //////////////////////////////////////////////////////////////////// 00034 // Function: HTTPAuthorization::get_domain 00035 // Access: Public 00036 // Description: Returns the set of domain strings on which this 00037 // authorization applies. This is the set of URL 00038 // prefixes for which this authorization should be 00039 // used. 00040 //////////////////////////////////////////////////////////////////// 00041 const vector_string &HTTPAuthorization:: 00042 get_domain() const { 00043 return _domain; 00044 }