Package com.codingchili.core.security
Class AuthenticationGenerator
java.lang.Object
com.codingchili.core.security.AuthenticationGenerator
Generates service security configuration based on system security mappings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.vertx.core.Future<Void>
all()
Generate new secrets, preshared secrets and tokens based on the system security configuration.io.vertx.core.Future<Void>
preshare()
Generates new preshared secrets based on the system security configuration.io.vertx.core.Future<Void>
secrets()
Generates new secrets based on the system security configuration.io.vertx.core.Future<Void>
tokens()
Generates new tokens based on the system security configuration.
-
Constructor Details
-
AuthenticationGenerator
- Parameters:
core
- the core context to run on.
-
AuthenticationGenerator
- Parameters:
core
- the core context to run on.directory
- the directory to search for configurations.
-
-
Method Details
-
all
Generate new secrets, preshared secrets and tokens based on the system security configuration.- Returns:
- callback.
-
secrets
Generates new secrets based on the system security configuration.- Returns:
- callback
-
tokens
Generates new tokens based on the system security configuration.- Returns:
- callback
-