org.infinispan.persistence.remote.configuration.AuthenticationConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-cachestore-remote Show documentation
Show all versions of infinispan-cachestore-remote Show documentation
Infinispan remote CacheStore based on Hotrod protocol
The newest version!
package org.infinispan.persistence.remote.configuration;
import java.util.HashMap;
import java.util.Map;
import javax.security.auth.Subject;
import javax.security.auth.callback.CallbackHandler;
import org.infinispan.commons.configuration.attributes.AttributeDefinition;
import org.infinispan.commons.configuration.attributes.AttributeSet;
import org.infinispan.commons.configuration.attributes.ConfigurationElement;
/**
* AuthenticationConfiguration.
*
* @author Tristan Tarrant
* @since 9.1
*/
public class AuthenticationConfiguration extends ConfigurationElement {
static final AttributeDefinition ENABLED = AttributeDefinition.builder(Attribute.ENABLED, false, Boolean.class).immutable().autoPersist(false).build();
static final AttributeDefinition CALLBACK_HANDLER = AttributeDefinition.builder("callback-handler", null, CallbackHandler.class).immutable().autoPersist(false).build();
static final AttributeDefinition CLIENT_SUBJECT = AttributeDefinition.builder("client-subject", null, Subject.class).immutable().autoPersist(false).build();
static final AttributeDefinition SERVER_NAME = AttributeDefinition.builder(Attribute.SERVER_NAME, null, String.class).immutable().build();
static final AttributeDefinition