Class SecretsCollection
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.users.SecretsCollection
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the named lists in this collection.longReturn the length of time that secrets can be cached.Return the list of secrets.Return details of a token API associated with the secrets collection.getUsers()Return the users stored in the secrets collection.inthashCode()Hash of propertiesvoidsetNamedLists(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.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
-
-
Method Details
-
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
-
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
-