View Javadoc
1   /*
2    * Copyright 2001-2009 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   *
16   */
17  package org.apache.juddi.v3.auth;
18  
19  import java.util.ArrayList;
20  import java.util.Collection;
21  
22  /**
23   * Container for user credentials.
24   * 
25   * @author <a href="mailto:kstam@apache.org">Kurt T Stam</a>
26   */
27  import javax.xml.bind.annotation.XmlRootElement;
28  
29  @XmlRootElement(name="juddi-users")
30  public class JuddiUsers {
31  
32  	private Collection<User> user = new ArrayList<User>(0);
33  
34  	public Collection<User> getUser() {
35  		return user;
36  	}
37  
38  	public void setUser(Collection<User> user) {
39  		this.user = user;
40  	}
41  }