KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > beehive > wsm > axis > security > UserList


1 package org.apache.beehive.wsm.axis.security;
2
3 /*
4  * DropInDeploymentHandler.java
5  *
6  * Copyright 2001-2004 The Apache Software Foundation.
7  *
8  *
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  *
21  */

22
23 import java.util.Collection JavaDoc;
24
25 public interface UserList {
26
27     public void addUser ( User user );
28
29     public User getUser ( String JavaDoc name );
30
31     public Collection JavaDoc<User> getUsers ();
32
33
34     public void addGroup ( Group user );
35
36     public Group getGroup ( String JavaDoc name );
37
38     public Collection JavaDoc<Group> getGroups();
39
40
41     public void addRole ( Role role );
42
43     public Role getRole ( String JavaDoc role );
44
45     public Collection JavaDoc<Role> getRoles ();
46
47 }
48
49
Popular Tags