org.apache.rampart.policy.model
Class CryptoConfig

java.lang.Object
  extended by org.apache.rampart.policy.model.CryptoConfig
All Implemented Interfaces:
org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent

public class CryptoConfig
extends java.lang.Object
implements org.apache.neethi.Assertion

Policy model bean to capture crypto information. Example:


    JKS
    /path/to/file.jks
    password


Field Summary
static java.lang.String CRYPTO_LN
           
static java.lang.String PROPERTY_LN
           
static java.lang.String PROPERTY_NAME_ATTR
           
static java.lang.String PROVIDER_ATTR
           
 
Constructor Summary
CryptoConfig()
           
 
Method Summary
 boolean equal(org.apache.neethi.PolicyComponent policyComponent)
           
 javax.xml.namespace.QName getName()
           
 java.util.Properties getProp()
           
 java.lang.String getProvider()
           
 short getType()
           
 boolean isOptional()
           
 org.apache.neethi.PolicyComponent normalize()
           
 void serialize(javax.xml.stream.XMLStreamWriter writer)
           
 void setProp(java.util.Properties prop)
           
 void setProvider(java.lang.String provider)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CRYPTO_LN

public static final java.lang.String CRYPTO_LN
See Also:
Constant Field Values

PROVIDER_ATTR

public static final java.lang.String PROVIDER_ATTR
See Also:
Constant Field Values

PROPERTY_LN

public static final java.lang.String PROPERTY_LN
See Also:
Constant Field Values

PROPERTY_NAME_ATTR

public static final java.lang.String PROPERTY_NAME_ATTR
See Also:
Constant Field Values
Constructor Detail

CryptoConfig

public CryptoConfig()
Method Detail

getProp

public java.util.Properties getProp()

setProp

public void setProp(java.util.Properties prop)

getProvider

public java.lang.String getProvider()

setProvider

public void setProvider(java.lang.String provider)

getName

public javax.xml.namespace.QName getName()
Specified by:
getName in interface org.apache.neethi.Assertion

isOptional

public boolean isOptional()
Specified by:
isOptional in interface org.apache.neethi.Assertion

normalize

public org.apache.neethi.PolicyComponent normalize()
Specified by:
normalize in interface org.apache.neethi.Assertion

serialize

public void serialize(javax.xml.stream.XMLStreamWriter writer)
               throws javax.xml.stream.XMLStreamException
Specified by:
serialize in interface org.apache.neethi.Assertion
Specified by:
serialize in interface org.apache.neethi.PolicyComponent
Throws:
javax.xml.stream.XMLStreamException

equal

public boolean equal(org.apache.neethi.PolicyComponent policyComponent)
Specified by:
equal in interface org.apache.neethi.PolicyComponent

getType

public short getType()
Specified by:
getType in interface org.apache.neethi.PolicyComponent