Package org.apache.synapse.securevault
Class SecretResolverFactory
- java.lang.Object
-
- org.apache.synapse.securevault.SecretResolverFactory
-
public class SecretResolverFactory extends Object
Factory for creatingSecretResolverinstances
-
-
Constructor Summary
Constructors Constructor Description SecretResolverFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SecretResolvercreate(Properties properties, String propertyPrefix)Creates anSecretResolverinstance from a set of propertystatic SecretResolvercreate(org.apache.axiom.om.OMElement configuration, boolean isCapLetter)Creates anSecretResolverinstance from an XMLstatic SecretResolvercreate(Element configuration, boolean isCapLetter)Creates anSecretResolverinstance from an XMLstatic SecretResolvercreate(NamedNodeMap namedNodeMap)Creates anSecretResolverinstance from a set of DOM Node
-
-
-
Method Detail
-
create
public static SecretResolver create(Element configuration, boolean isCapLetter)
Creates anSecretResolverinstance from an XML- Parameters:
configuration-SecretResolverconfiguration as XML object, DOMisCapLetter- whether the XML element begins with a cap letter- Returns:
- an
SecretResolverinstance
-
create
public static SecretResolver create(org.apache.axiom.om.OMElement configuration, boolean isCapLetter)
Creates anSecretResolverinstance from an XML- Parameters:
configuration-SecretResolverconfiguration as XML object, OMElementisCapLetter- whether the XML element begins with a cap letter- Returns:
- an
SecretResolverinstance
-
create
public static SecretResolver create(Properties properties, String propertyPrefix)
Creates anSecretResolverinstance from a set of property- Parameters:
properties- configuration propertiespropertyPrefix- prefix to identify suitable configuration properties- Returns:
- an
SecretResolverinstance
-
create
public static SecretResolver create(NamedNodeMap namedNodeMap)
Creates anSecretResolverinstance from a set of DOM Node- Parameters:
namedNodeMap- DOM node set- Returns:
- an
SecretResolverinstance
-
-