Home » rampart-dist-1.4-src » org.apache » rampart » policy » model » [javadoc | source]
org.apache.rampart.policy.model
public class: RampartConfig [javadoc | source]
java.lang.Object
   org.apache.rampart.policy.model.RampartConfig

All Implemented Interfaces:
    org.apache.neethi.Assertion

Rampart policy model bean to capture Rampart configuration assertion info. Example:
 <ramp:RampartConfig xmlns:ramp="http://ws.apache.org/rampart/policy"> 
 <ramp:user>alice</ramp:user>
 <ramp:encryptionUser>bob</ramp:encryptionUser>
 <ramp:passwordCallbackClass>org.apache.axis2.security.PWCallback</ramp:passwordCallbackClass>
 <ramp:policyValidatorCbClass>org.apache.axis2.security.ramp:PolicyValidatorCallbackHandler</ramp:policyValidatorCbClass>
 <ramp:timestampPrecisionInMilliseconds>true</timestampPrecisionInMilliseconds>
 <ramp:timestampTTL>300</ramp:timestampTTL>
 <ramp:timestampMaxSkew>0</ramp:timestampMaxSkew>
 <ramp:tokenStoreClass>org.apache.rahas.StorageImpl</ramp:tokenStoreClass>
 
 <ramp:signatureCrypto>
 <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>
 </ramp:signatureCrypto>
 
 <ramp:tokenIssuerPolicy>
 <wsp:Policy>
 ....
 ....
 </wsp:Policy>
 </ramp:tokenIssuerPolicy>
 </ramp:RampartConfig>

Field Summary
public static final  boolean DEFAULT_TIMESTAMP_PRECISION_IN_MS     
public static final  int DEFAULT_TIMESTAMP_TTL     
public static final  int DEFAULT_TIMESTAMP_MAX_SKEW     
public static final  String NS     
public static final  String PREFIX     
public static final  String RAMPART_CONFIG_LN     
public static final  String USER_LN     
public static final  String USER_CERT_ALIAS_LN     
public static final  String ENCRYPTION_USER_LN     
public static final  String STS_ALIAS_LN     
public static final  String PW_CB_CLASS_LN     
public static final  String POLICY_VALIDATOR_CB_CLASS_LN     
public static final  String SIG_CRYPTO_LN     
public static final  String ENCR_CRYPTO_LN     
public static final  String DEC_CRYPTO_LN     
public static final  String STS_CRYPTO_LN     
public static final  String TS_PRECISION_IN_MS_LN     
public static final  String TS_TTL_LN     
public static final  String TS_MAX_SKEW_LN     
public static final  String TOKEN_STORE_CLASS_LN     
public static final  String OPTIMISE_PARTS     
public static final  String SSL_CONFIG     
Method from org.apache.rampart.policy.model.RampartConfig Summary:
equal,   getDecCryptoConfig,   getEncrCryptoConfig,   getEncryptionUser,   getName,   getOptimizeParts,   getPolicyValidatorCbClass,   getPwCbClass,   getSSLConfig,   getSigCryptoConfig,   getStsAlias,   getStsCryptoConfig,   getTimestampMaxSkew,   getTimestampPrecisionInMilliseconds,   getTimestampTTL,   getTokenStoreClass,   getType,   getUser,   getUserCertAlias,   isOptional,   normalize,   serialize,   setDecCryptoConfig,   setEncrCryptoConfig,   setEncryptionUser,   setOptimizeParts,   setPolicyValidatorCbClass,   setPwCbClass,   setSSLConfig,   setSigCryptoConfig,   setStsAlias,   setStsCryptoConfig,   setTimestampMaxSkew,   setTimestampPrecisionInMilliseconds,   setTimestampTTL,   setTokenStoreClass,   setUser,   setUserCertAlias
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.rampart.policy.model.RampartConfig Detail:
 public boolean equal(PolicyComponent policyComponent) 
 public CryptoConfig getDecCryptoConfig() 
 public CryptoConfig getEncrCryptoConfig() 
 public String getEncryptionUser() 
 public QName getName() 
 public OptimizePartsConfig getOptimizeParts() 
 public String getPolicyValidatorCbClass() 
 public String getPwCbClass() 
 public SSLConfig getSSLConfig() 
 public CryptoConfig getSigCryptoConfig() 
 public String getStsAlias() 
 public CryptoConfig getStsCryptoConfig() 
 public String getTimestampMaxSkew() 
 public String getTimestampPrecisionInMilliseconds() 
 public String getTimestampTTL() 
 public String getTokenStoreClass() 
 public short getType() 
 public String getUser() 
 public String getUserCertAlias() 
 public boolean isOptional() 
 public PolicyComponent normalize() 
 public  void serialize(XMLStreamWriter writer) throws XMLStreamException 
 public  void setDecCryptoConfig(CryptoConfig decCrypto) 
 public  void setEncrCryptoConfig(CryptoConfig encrCrypto) 
 public  void setEncryptionUser(String encryptionUser) 
 public  void setOptimizeParts(OptimizePartsConfig optimizeParts) 
 public  void setPolicyValidatorCbClass(String policyValidatorCbClass) 
 public  void setPwCbClass(String pwCbClass) 
 public  void setSSLConfig(SSLConfig sslConfig) 
 public  void setSigCryptoConfig(CryptoConfig sigCryptoConfig) 
 public  void setStsAlias(String stsAlias) 
 public  void setStsCryptoConfig(CryptoConfig stsCryptoConfig) 
 public  void setTimestampMaxSkew(String timestampMaxSkew) 
 public  void setTimestampPrecisionInMilliseconds(String timestampPrecisionInMilliseconds) 
 public  void setTimestampTTL(String timestampTTL) 
 public  void setTokenStoreClass(String tokenStoreClass) 
 public  void setUser(String user) 
 public  void setUserCertAlias(String userCertAlias)