Package nz.org.riskscape.engine.auth
Class SecretBuilder
java.lang.Object
nz.org.riskscape.engine.auth.SecretBuilder
- All Implemented Interfaces:
Identified
A thing that can build a particular type of secret from some well-known parameters
-
Constructor Summary
ConstructorDescriptionSecretBuilder
(String id, Class<? extends Secret> buildsClass, ParameterSet parameters, Function<BoundParameters, ResultOrProblems<Secret>> builder) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface nz.org.riskscape.engine.Identified
getIdentifiedClass
-
Constructor Details
-
SecretBuilder
public SecretBuilder(String id, Class<? extends Secret> buildsClass, ParameterSet parameters, Function<BoundParameters, ResultOrProblems<Secret>> builder)
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceIdentified
- Returns:
- id
-
getBuildsClass
-
getParameters
-
getBuilder
-