Panda3D
httpAuthorization.I
1 // Filename: httpAuthorization.I
2 // Created by: drose (22Oct02)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: HTTPAuthorization::get_realm
18 // Access: Public
19 // Description: Returns the realm to which this authorization
20 // applies. This is the server-supplied string that may
21 // have meaning to the user, and describes the general
22 // collection of things protected by this password.
23 ////////////////////////////////////////////////////////////////////
24 const string &HTTPAuthorization::
25 get_realm() const {
26  return _realm;
27 }
28 
29 ////////////////////////////////////////////////////////////////////
30 // Function: HTTPAuthorization::get_domain
31 // Access: Public
32 // Description: Returns the set of domain strings on which this
33 // authorization applies. This is the set of URL
34 // prefixes for which this authorization should be
35 // used.
36 ////////////////////////////////////////////////////////////////////
37 const vector_string &HTTPAuthorization::
38 get_domain() const {
39  return _domain;
40 }