public interface UserProjectCache
| Modifier and Type | Method and Description |
|---|---|
void |
expire() |
Map<String,Set<String>> |
getUserProjects()
Retrieve an unmodifiable mapping of users to their projects
|
boolean |
hasUser(String user) |
boolean |
isClusterAdmin(String user) |
void |
update(String user,
Set<String> projects,
boolean clusterAdmin)
Add users for a project
|
void update(String user, Set<String> projects, boolean clusterAdmin)
project - the projectbinding - the binding to get user infoMap<String,Set<String>> getUserProjects()
boolean hasUser(String user)
user - boolean isClusterAdmin(String user)
void expire()
Copyright © 2015 Red Hat. All rights reserved.