public static class OpenshiftRequestContextFactory.OpenshiftRequestContext extends Object
| Modifier and Type | Field and Description |
|---|---|
static OpenshiftRequestContextFactory.OpenshiftRequestContext |
EMPTY |
| Constructor and Description |
|---|
OpenshiftRequestContext(String user,
String token,
boolean isClusterAdmin,
Set<Project> projects,
String kibanaIndex,
String kibanaIndexMode) |
| Modifier and Type | Method and Description |
|---|---|
String |
getKibanaIndex() |
String |
getKibanaIndexMode() |
Set<Project> |
getProjects()
The Set of projects
|
String |
getToken() |
String |
getUser() |
boolean |
isAuthenticated()
Method to determine if context has a none empty username and token
|
boolean |
isOperationsUser() |
public static final OpenshiftRequestContextFactory.OpenshiftRequestContext EMPTY
public boolean isAuthenticated()
public String getUser()
public String getToken()
public boolean isOperationsUser()
public String getKibanaIndex()
public String getKibanaIndexMode()
Copyright © 2015–2018 Red Hat. All rights reserved.