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