Class SecretsCollection
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.users.SecretsCollection
- Direct Known Subclasses:
OpenMetadataSecretsCollection
SecretsCollection stores a collection or properties that are used to connect to a particular digital resource,
or support a specific type of security service.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorSecretsCollection(SecretsCollection template) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the description for this collection.Return the display name for this collection.Return the named lists in this collection.longReturn the length of time that secrets can be cached.Return the list of secrets.Return the security access controls in this collection.Return details of a token API associated with the secrets collection.getUsers()Return the users stored in the secrets collection.inthashCode()Hash of propertiesvoidsetDescription(String description) Set up the description for this collection.voidsetDisplayName(String displayName) Set up the display name for this collection.voidsetNamedLists(Map<String, NamedList> namedLists) Set up the named lists in this collection.voidsetRefreshTimeInterval(long getRefreshTimeInterval) Set up the length of time that secrets can be cached.voidsetSecrets(Map<String, String> secrets) Set up the in memory version of the secrets collection.voidsetSecurityAccessControls(Map<String, SecurityAccessControl> securityAccessControls) Set up the security access controls in this collection.voidsetTokenAPI(TokenAPI tokenAPI) Set up the token API for this secrets collection.voidsetUsers(Map<String, UserAccount> users) Set up the users stored in the secrets collection.toString()Standard toString method.
-
Constructor Details
-
SecretsCollection
public SecretsCollection()Default constructor -
SecretsCollection
Default constructor
-
-
Method Details
-
getDisplayName
Return the display name for this collection.- Returns:
- string
-
setDisplayName
Set up the display name for this collection.- Parameters:
displayName- string
-
getDescription
Return the description for this collection.- Returns:
- string
-
setDescription
Set up the description for this collection.- Parameters:
description- string
-
getRefreshTimeInterval
public long getRefreshTimeInterval()Return the length of time that secrets can be cached.- Returns:
- long
-
setRefreshTimeInterval
public void setRefreshTimeInterval(long getRefreshTimeInterval) Set up the length of time that secrets can be cached.- Parameters:
getRefreshTimeInterval- long
-
getUsers
Return the users stored in the secrets collection.- Returns:
- map of userIds to user details
-
setUsers
Set up the users stored in the secrets collection.- Parameters:
users- map of userIds to user details
-
getSecrets
Return the list of secrets.- Returns:
- map of secret values
-
setSecrets
Set up the in memory version of the secrets collection.- Parameters:
secrets- a map of secrets values
-
getTokenAPI
Return details of a token API associated with the secrets collection.- Returns:
- token API definition
-
setTokenAPI
Set up the token API for this secrets collection.- Parameters:
tokenAPI- token API definition
-
getNamedLists
Return the named lists in this collection. The named lists can represent organization units, security groups, and roles.- Returns:
- map of named lists
-
setNamedLists
Set up the named lists in this collection. The named lists can represent organization units, security groups, and roles.- Parameters:
namedLists- map of named lists
-
getSecurityAccessControls
Return the security access controls in this collection. The security access controls can represent organization units, security groups, and roles.- Returns:
- map of security access controls
-
setSecurityAccessControls
Set up the security access controls in this collection. The security access controls can represent organization units, security groups, and roles.- Parameters:
securityAccessControls- map of security access controls
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Hash of properties
-