All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.server.security.http.localuser.WildFlyElytronHttpLocalUserProvider Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev05
Show newest version
package org.infinispan.server.security.http.localuser;

import java.security.Provider;

import org.kohsuke.MetaInfServices;
import org.wildfly.security.WildFlyElytronBaseProvider;

/**
 * Provider for the HTTP Local authentication mechanism.
 *
 * @author Tristan Tarrant <[email protected]>
 * @since 10.0
 */
@MetaInfServices(Provider.class)
public final class WildFlyElytronHttpLocalUserProvider extends WildFlyElytronBaseProvider {

   private static final WildFlyElytronHttpLocalUserProvider INSTANCE = new WildFlyElytronHttpLocalUserProvider();

   /**
    * Construct a new instance.
    */
   public WildFlyElytronHttpLocalUserProvider() {
      super("WildFlyElytronHttpLocalUserProvider", "1.0", "WildFly Elytron HTTP LOCALUSER Provider");
      putService(new ProviderService(this, HTTP_SERVER_FACTORY_TYPE, "LOCALUSER", "org.infinispan.server.security.http.localuser.LocalUserMechanismFactory", emptyList, emptyMap, true, true));
   }

   /**
    * Get the HTTP BASIC authentication mechanism provider instance.
    *
    * @return the HTTP BASIC authentication mechanism provider instance
    */
   public static WildFlyElytronHttpLocalUserProvider getInstance() {
      return INSTANCE;
   }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy