public class CryptoConfig extends Object implements org.apache.neethi.Assertion
<ramp:crypto provider="org.apache.ws.security.components.crypto.Merlin"> <ramp:property name="keystoreType">JKS</ramp:property> <ramp:property name="keystoreFile">/path/to/file.jks</ramp:property> <ramp:property name="keystorePassword">password</ramp:property> </ramp:crypto>
Modifier and Type | Field and Description |
---|---|
static String |
CACHE_ENABLED |
static String |
CACHE_REFRESH_INTVL |
static String |
CRYPTO_KEY_ATTR |
static String |
CRYPTO_LN |
static String |
PROPERTY_LN |
static String |
PROPERTY_NAME_ATTR |
static String |
PROVIDER_ATTR |
Constructor and Description |
---|
CryptoConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
equal(org.apache.neethi.PolicyComponent policyComponent) |
String |
getCacheRefreshInterval() |
String |
getCryptoKey() |
QName |
getName() |
Properties |
getProp() |
String |
getProvider() |
short |
getType() |
boolean |
isCacheEnabled() |
boolean |
isIgnorable() |
boolean |
isOptional() |
org.apache.neethi.PolicyComponent |
normalize() |
void |
serialize(javax.xml.stream.XMLStreamWriter writer) |
void |
setCacheEnabled(boolean cacheEnabled) |
void |
setCacheRefreshInterval(String cacheRefreshInterval) |
void |
setCryptoKey(String cryptoKey) |
void |
setProp(Properties prop) |
void |
setProvider(String provider) |
public static final String CRYPTO_LN
public static final String PROVIDER_ATTR
public static final String PROPERTY_LN
public static final String PROPERTY_NAME_ATTR
public static final String CRYPTO_KEY_ATTR
public static final String CACHE_REFRESH_INTVL
public static final String CACHE_ENABLED
public String getCryptoKey()
public void setCryptoKey(String cryptoKey)
public String getCacheRefreshInterval()
public void setCacheRefreshInterval(String cacheRefreshInterval)
public Properties getProp()
public void setProp(Properties prop)
public String getProvider()
public void setProvider(String provider)
public QName getName()
getName
in interface org.apache.neethi.Assertion
public boolean isOptional()
isOptional
in interface org.apache.neethi.Assertion
public boolean isIgnorable()
isIgnorable
in interface org.apache.neethi.Assertion
public org.apache.neethi.PolicyComponent normalize()
normalize
in interface org.apache.neethi.Assertion
public boolean isCacheEnabled()
public void setCacheEnabled(boolean cacheEnabled)
public void serialize(javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
serialize
in interface org.apache.neethi.Assertion
serialize
in interface org.apache.neethi.PolicyComponent
javax.xml.stream.XMLStreamException
public boolean equal(org.apache.neethi.PolicyComponent policyComponent)
equal
in interface org.apache.neethi.PolicyComponent
public short getType()
getType
in interface org.apache.neethi.PolicyComponent
Copyright © Apache Software Foundation. All Rights Reserved.