Class AuthenticationGenerator

java.lang.Object
com.codingchili.core.security.AuthenticationGenerator

public class AuthenticationGenerator extends Object
Generates service security configuration based on system security mappings.
  • Constructor Details

    • AuthenticationGenerator

      public AuthenticationGenerator(CoreContext core)
      Parameters:
      core - the core context to run on.
    • AuthenticationGenerator

      public AuthenticationGenerator(CoreContext core, String directory)
      Parameters:
      core - the core context to run on.
      directory - the directory to search for configurations.
  • Method Details

    • all

      public io.vertx.core.Future<Void> all()
      Generate new secrets, preshared secrets and tokens based on the system security configuration.
      Returns:
      callback.
    • preshare

      public io.vertx.core.Future<Void> preshare()
      Generates new preshared secrets based on the system security configuration.
      Returns:
      callback
    • secrets

      public io.vertx.core.Future<Void> secrets()
      Generates new secrets based on the system security configuration.
      Returns:
      callback
    • tokens

      public io.vertx.core.Future<Void> tokens()
      Generates new tokens based on the system security configuration.
      Returns:
      callback