Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/lutris/http/BasicAuthResult.java


1   /*
2    * Enhydra Java Application Server Project
3    * 
4    * The contents of this file are subject to the Enhydra Public License
5    * Version 1.1 (the "License"); you may not use this file except in
6    * compliance with the License. You may obtain a copy of the License on
7    * the Enhydra web site ( http://www.enhydra.org/ ).
8    * 
9    * Software distributed under the License is distributed on an "AS IS"
10   * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See 
11   * the License for the specific terms governing rights and limitations
12   * under the License.
13   * 
14   * The Initial Developer of the Enhydra Application Server is Lutris
15   * Technologies, Inc. The Enhydra Application Server and portions created
16   * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
17   * All Rights Reserved.
18   * 
19   * Contributor(s):
20   * 
21   * $Id: BasicAuthResult.java,v 1.6.14.1 2000/10/19 17:59:07 jasona Exp $
22   */
23  
24  
25  
26  
27  package com.lutris.http;
28  
29  
30  /**
31   * This class is used by BasicAuth to return both the username and the
32   * password at once. <P>
33   *
34   * @version     $Revision: 1.6.14.1 $
35   * @author      Andy John
36   */
37  public class BasicAuthResult {
38  
39      /**
40       *  The username that was sent along with the request. 
41       */
42      public String username;
43  
44      /**
45       *  The password that was sent along with the request.
46       */
47      public String password;
48  
49  
50      /**
51       *  Only the BasicAuth class should create instances of this class.
52       */
53      protected BasicAuthResult(String username, String password) {
54          this.username = username;
55          this.password = password;
56      }
57  
58  }
59