Class OutboundTarget
java.lang.Object
io.helidon.security.providers.common.OutboundTarget
Configuration of outbound target.
 Outbound target is a set of protocols and hosts that share a configuration of outbound provider.
 Name is considered to be a unique identification of a target, so it is used for hashCode and equals methods.
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringConfiguration key for string array of hosts.static final StringConfiguration key for string array of HTTP methods.static final StringConfiguration key for name of target.static final StringConfiguration key for string array of paths.static final StringConfiguration key for string array of supported transports.
- 
Method SummaryModifier and TypeMethodDescriptionstatic OutboundTarget.BuilderBuilder for a single target.static OutboundTargetCreate a target from configuration.<T> Optional<? extends T> customObject(Class<? extends T> clazz) Allows a programmatic client to send custom security provider specific parameters to the provider.booleanConfiguration of this target.inthashCode()hosts()Hosts of this target.name()Name of this target.toString()Transports of this target.
- 
Field Details- 
CONFIG_NAMEConfiguration key for name of target. If named "default", it will override possible default values from provider- See Also:
 
- 
CONFIG_TRANSPORTSConfiguration key for string array of supported transports. If not provided or empty, all transports are supported- See Also:
 
- 
CONFIG_HOSTSConfiguration key for string array of hosts. If not provided or empty, all hosts are supported. If any host is the string "*" (asterisk), all hosts are supported- See Also:
 
- 
CONFIG_PATHSConfiguration key for string array of paths. If not provided or empty, all paths are supported. If any path is the string "*" (asterisk), all paths are supported.- See Also:
 
- 
CONFIG_METHODSConfiguration key for string array of HTTP methods. If not provided or empty, all methods are supported. The values must contain exact names of HTTP methods that should propagate, case insensitive (such asGET, orgetare both valid methods).- See Also:
 
 
- 
- 
Method Details- 
createCreate a target from configuration.- Parameters:
- config- configuration on the node of a single outbound target
- Returns:
- a new target from config, requires at least "name"
 
- 
builderBuilder for a single target.- Parameters:
- name- name of the target (if set to "default", all defaults from provider will be ignored)
- Returns:
- Builder instance
 
- 
nameName of this target.- Returns:
- name
 
- 
transportsTransports of this target.- Returns:
- transports this target is valid for
 
- 
hostsHosts of this target.- Returns:
- hosts this target is valid for
 
- 
getConfigConfiguration of this target.- Returns:
- target configuration or empty if none provided
 
- 
customObjectAllows a programmatic client to send custom security provider specific parameters to the provider. Definition of such properties must be documented on the provider. The Security is not aware of such properties.- Type Parameters:
- T- Type of the provider specific object
- Parameters:
- clazz- Class we want to get
- Returns:
- class to value mapping
- See Also:
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-