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

org.wildfly.swarm.config.security.ClassicVault Maven / Gradle / Ivy

package org.wildfly.swarm.config.security;

import org.wildfly.config.runtime.Implicit;
import org.wildfly.config.runtime.ResourceType;
import org.wildfly.config.runtime.ModelNodeBinding;
import java.util.Map;
/**
 * Security Vault for attributes.
 */
@ResourceType("vault")
@Implicit
public class ClassicVault {

	private String key;
	private String code;
	private Map vaultOptions;

	public ClassicVault() {
		this.key = "classic";
	}

	public String getKey() {
		return this.key;
	}

	/**
	 * Fully Qualified Name of the Security Vault Implementation.
	 */
	@ModelNodeBinding(detypedName = "code")
	public String code() {
		return this.code;
	}

	/**
	 * Fully Qualified Name of the Security Vault Implementation.
	 */
	@SuppressWarnings("unchecked")
	public ClassicVault code(String value) {
		this.code = value;
		return (ClassicVault) this;
	}

	/**
	 * Security Vault options.
	 */
	@ModelNodeBinding(detypedName = "vault-options")
	public Map vaultOptions() {
		return this.vaultOptions;
	}

	/**
	 * Security Vault options.
	 */
	@SuppressWarnings("unchecked")
	public ClassicVault vaultOptions(Map value) {
		this.vaultOptions = value;
		return (ClassicVault) this;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy