Panda3D
|
00001 // Filename: httpAuthorization.I 00002 // Created by: drose (22Oct02) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 00016 //////////////////////////////////////////////////////////////////// 00017 // Function: HTTPAuthorization::get_realm 00018 // Access: Public 00019 // Description: Returns the realm to which this authorization 00020 // applies. This is the server-supplied string that may 00021 // have meaning to the user, and describes the general 00022 // collection of things protected by this password. 00023 //////////////////////////////////////////////////////////////////// 00024 const string &HTTPAuthorization:: 00025 get_realm() const { 00026 return _realm; 00027 } 00028 00029 //////////////////////////////////////////////////////////////////// 00030 // Function: HTTPAuthorization::get_domain 00031 // Access: Public 00032 // Description: Returns the set of domain strings on which this 00033 // authorization applies. This is the set of URL 00034 // prefixes for which this authorization should be 00035 // used. 00036 //////////////////////////////////////////////////////////////////// 00037 const vector_string &HTTPAuthorization:: 00038 get_domain() const { 00039 return _domain; 00040 }