Class ApiKeyGenerator

java.lang.Object
org.elasticsearch.xpack.security.authc.support.ApiKeyGenerator

public class ApiKeyGenerator extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    ApiKeyGenerator(ApiKeyService apiKeyService, CompositeRolesStore rolesStore, org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    generateApiKey(org.elasticsearch.xpack.core.security.authc.Authentication authentication, org.elasticsearch.xpack.core.security.action.apikey.CreateApiKeyRequest request, org.elasticsearch.action.ActionListener<org.elasticsearch.xpack.core.security.action.apikey.CreateApiKeyResponse> listener)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ApiKeyGenerator

      public ApiKeyGenerator(ApiKeyService apiKeyService, CompositeRolesStore rolesStore, org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry)
  • Method Details

    • generateApiKey

      public void generateApiKey(org.elasticsearch.xpack.core.security.authc.Authentication authentication, org.elasticsearch.xpack.core.security.action.apikey.CreateApiKeyRequest request, org.elasticsearch.action.ActionListener<org.elasticsearch.xpack.core.security.action.apikey.CreateApiKeyResponse> listener)