public class OneOpsTeam extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SECRETS_ADMIN_TEAM
The default team name the users to be part of to manage keywhiz secrets.
|
Constructor and Description |
---|
OneOpsTeam(String name,
String description,
boolean design,
boolean transition,
boolean operation) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Accessor for team description.
|
String |
getName()
Accessor for team name.
|
boolean |
isDesign()
Is design permission enabled for this team.
|
boolean |
isOperation()
Is operation permission enabled for this team.
|
boolean |
isSecretsAdmin()
Checks if it's Secrets Admin team.
|
boolean |
isSecretsAdmin(String assembly)
Checks if team is a Secrets admin for the given assembly.
|
boolean |
isTransition()
Is transition permission enabled for this team.
|
String |
toString() |
public static final String SECRETS_ADMIN_TEAM
public String getName()
public String getDescription()
public boolean isDesign()
true
if the permission is enabled.public boolean isTransition()
true
if the permission is enabled.public boolean isOperation()
true
if the permission is enabled.public boolean isSecretsAdmin()
true
if the team name is SECRETS_ADMIN_TEAM
public boolean isSecretsAdmin(String assembly)
true
if the team is a Secrets admin for given assembly.Copyright © 2018 Walmart, Inc.. All rights reserved.