org.apache.rampart.conversation
Class ConversationConfiguration

java.lang.Object
  extended byorg.apache.rampart.conversation.ConversationConfiguration

public class ConversationConfiguration
extends java.lang.Object

Configuration manager for Ramapart-SecConv


Field Summary
static javax.xml.namespace.QName CRYPTO_PROPERTIES_FILE
          Deprecated.  
static javax.xml.namespace.QName DERIVED_KEY_LENGTH
          Deprecated.  
static javax.xml.namespace.QName ENCRYPTION_USER
          Deprecated.  
static javax.xml.namespace.QName KEY_DERIVATION_ALGORITHM_CLASS
          Deprecated.  
static javax.xml.namespace.QName PW_CALLBACK_CLASS
          Deprecated.  
static java.lang.String SC_CONFIG
          Deprecated.  
static javax.xml.namespace.QName SCOPE
          Deprecated.  
static java.lang.String SCOPE_OPERATION
          Deprecated.  
static java.lang.String SCOPE_SERVICE
          Deprecated.  
static javax.xml.namespace.QName STS_EPR_ADDRESS
          Deprecated.  
static javax.xml.namespace.QName TOKEN_STORE_CLASS
          Deprecated.  
 
Constructor Summary
ConversationConfiguration()
          Deprecated.  
 
Method Summary
protected  java.lang.ClassLoader getClassLoader()
          Deprecated.  
 java.lang.String getContextIdentifier()
          Deprecated.  
protected  java.util.Hashtable getContextMap()
          Deprecated.  
 org.apache.ws.security.components.crypto.Crypto getCrypto()
          Deprecated.  
 java.lang.String getCryptoClassName()
          Deprecated.  
 java.util.Properties getCryptoProperties()
          Deprecated.  
 java.lang.String getCryptoPropertiesFile()
          Deprecated.  
 java.lang.String getDerivedKeyLength()
          Deprecated.  
 org.w3c.dom.Document getDocument()
          Deprecated.  
 java.lang.String getEncryptionUser()
          Deprecated.  
 java.lang.String getKeyDerivationAlgorithmClass()
          Deprecated.  
 org.apache.axis2.context.MessageContext getMsgCtx()
          Deprecated.  
 org.apache.axis2.description.Parameter getParameter()
          Deprecated. Generate the Axis2 parameter representing ConversationConfiguration
static org.apache.axis2.description.Parameter getParameter(org.apache.axis2.context.MessageContext msgCtx)
          Deprecated.  
 java.lang.String getPasswordCallbackClass()
          Deprecated.  
 javax.security.auth.callback.CallbackHandler getPasswordCallbackRef()
          Deprecated.  
 java.lang.String getScope()
          Deprecated.  
 java.lang.String getStsEPRAddress()
          Deprecated.  
 org.apache.rahas.TokenStorage getTokenStore()
          Deprecated.  
 java.lang.String getTokenStoreClass()
          Deprecated.  
 int getWstVersion()
          Deprecated.  
 boolean isProvideEntropy()
          Deprecated.  
protected  boolean isSender()
          Deprecated.  
static ConversationConfiguration load(org.apache.axis2.context.MessageContext msgCtx, boolean sender)
          Deprecated. Builds the configuration from an Axis2 parameter.
protected  void setClassLoader(java.lang.ClassLoader classLoader)
          Deprecated.  
protected  void setContextIdentifier(java.lang.String contextIdentifier)
          Deprecated.  
protected  void setCrypto(org.apache.ws.security.components.crypto.Crypto crypto)
          Deprecated.  
 void setCryptoClassName(java.lang.String cryptoClassName)
          Deprecated.  
 void setCryptoProperties(java.util.Properties cryptoProperties)
          Deprecated.  
 void setCryptoPropertiesFile(java.lang.String cryptoPropertiesFile)
          Deprecated.  
 void setDerivedKeyLength(java.lang.String derivedKeyLength)
          Deprecated.  
protected  void setDocument(org.w3c.dom.Document doc)
          Deprecated.  
 void setEncryptionUser(java.lang.String encryptionUser)
          Deprecated.  
 void setKeyDerivationAlgorithmClass(java.lang.String keyDerivationAlgorithmClass)
          Deprecated.  
 void setPasswordCallbackClass(java.lang.String passwordCallbackClass)
          Deprecated.  
 void setProvideEntropy(boolean provideEntropy)
          Deprecated.  
 void setScope(java.lang.String scope)
          Deprecated.  
 void setStsEPRAddress(java.lang.String stsEPRAddress)
          Deprecated.  
 void setTokenStoreClass(java.lang.String tokenStoreClass)
          Deprecated.  
 void setWstVersion(int wstVersion)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SC_CONFIG

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

SCOPE_SERVICE

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

SCOPE_OPERATION

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

SCOPE

public static final javax.xml.namespace.QName SCOPE
Deprecated. 

STS_EPR_ADDRESS

public static final javax.xml.namespace.QName STS_EPR_ADDRESS
Deprecated. 

DERIVED_KEY_LENGTH

public static final javax.xml.namespace.QName DERIVED_KEY_LENGTH
Deprecated. 

KEY_DERIVATION_ALGORITHM_CLASS

public static final javax.xml.namespace.QName KEY_DERIVATION_ALGORITHM_CLASS
Deprecated. 

TOKEN_STORE_CLASS

public static final javax.xml.namespace.QName TOKEN_STORE_CLASS
Deprecated. 

CRYPTO_PROPERTIES_FILE

public static final javax.xml.namespace.QName CRYPTO_PROPERTIES_FILE
Deprecated. 

ENCRYPTION_USER

public static final javax.xml.namespace.QName ENCRYPTION_USER
Deprecated. 

PW_CALLBACK_CLASS

public static final javax.xml.namespace.QName PW_CALLBACK_CLASS
Deprecated. 
Constructor Detail

ConversationConfiguration

public ConversationConfiguration()
Deprecated. 
Method Detail

load

public static ConversationConfiguration load(org.apache.axis2.context.MessageContext msgCtx,
                                             boolean sender)
                                      throws java.lang.Exception
Deprecated. 
Builds the configuration from an Axis2 parameter.

Parameters:
msgCtx -
sender -
Returns:
If there is an Axis2 parameter available in the context hierarchy or the configuration hierarchy then return the populated ConversationConfiguration instance. If the parameter is not found then
Throws:
java.lang.Exception

getParameter

public static org.apache.axis2.description.Parameter getParameter(org.apache.axis2.context.MessageContext msgCtx)
Deprecated. 
Parameters:
msgCtx -
Returns:
The configuration parameter from the given message context

getParameter

public org.apache.axis2.description.Parameter getParameter()
Deprecated. 
Generate the Axis2 parameter representing ConversationConfiguration

Returns:
The Axis2 parameter representing ConversationConfiguration

getScope

public java.lang.String getScope()
Deprecated. 
Returns:
Returns the scope.

getStsEPRAddress

public java.lang.String getStsEPRAddress()
Deprecated. 
Returns:
Returns the stsEPR.

getDerivedKeyLength

public java.lang.String getDerivedKeyLength()
Deprecated. 
Returns:
Returns the derivedKeyLength.

getKeyDerivationAlgorithmClass

public java.lang.String getKeyDerivationAlgorithmClass()
Deprecated. 
Returns:
Returns the keyDerivationAlgorithmClass.

setDerivedKeyLength

public void setDerivedKeyLength(java.lang.String derivedKeyLength)
Deprecated. 
Parameters:
derivedKeyLength - The derivedKeyLength to set.

setKeyDerivationAlgorithmClass

public void setKeyDerivationAlgorithmClass(java.lang.String keyDerivationAlgorithmClass)
Deprecated. 
Parameters:
keyDerivationAlgorithmClass - The keyDerivationAlgorithmClass to set.

setScope

public void setScope(java.lang.String scope)
Deprecated. 
Parameters:
scope - The scope to set.

setStsEPRAddress

public void setStsEPRAddress(java.lang.String stsEPRAddress)
Deprecated. 
Parameters:
stsEPRAddress - The stsEPRAddress to set.

getContextMap

protected java.util.Hashtable getContextMap()
Deprecated. 
Returns:
Returns the contextMap.

getTokenStore

public org.apache.rahas.TokenStorage getTokenStore()
                                            throws java.lang.Exception
Deprecated. 
Returns:
Returns the tokenStore.
Throws:
java.lang.Exception

getTokenStoreClass

public java.lang.String getTokenStoreClass()
Deprecated. 
Returns:
Returns the tokenStoreClass.

getCryptoProperties

public java.util.Properties getCryptoProperties()
Deprecated. 
Returns:
Returns the cryptoProperties.

setCryptoProperties

public void setCryptoProperties(java.util.Properties cryptoProperties)
Deprecated. 
Parameters:
cryptoProperties - The cryptoProperties to set.

setTokenStoreClass

public void setTokenStoreClass(java.lang.String tokenStoreClass)
Deprecated. 
Parameters:
tokenStoreClass - The tokenStoreClass to set.

getCryptoPropertiesFile

public java.lang.String getCryptoPropertiesFile()
Deprecated. 
Returns:
Returns the cryptoPropertiesFile.

setCryptoPropertiesFile

public void setCryptoPropertiesFile(java.lang.String cryptoPropertiesFile)
Deprecated. 
Parameters:
cryptoPropertiesFile - The cryptoPropertiesFile to set.

getCryptoClassName

public java.lang.String getCryptoClassName()
Deprecated. 
Returns:
Returns the cryptoClassName.

setCryptoClassName

public void setCryptoClassName(java.lang.String cryptoClassName)
Deprecated. 
Parameters:
cryptoClassName - The cryptoClassName to set.

isSender

protected boolean isSender()
Deprecated. 
Returns:
Returns the sender.

getDocument

public org.w3c.dom.Document getDocument()
Deprecated. 
Returns:
Returns the doc.

setDocument

protected void setDocument(org.w3c.dom.Document doc)
Deprecated. 
Parameters:
doc - The doc to set.

getPasswordCallbackClass

public java.lang.String getPasswordCallbackClass()
Deprecated. 
Returns:
Returns the passwordCallbackClass.

getPasswordCallbackRef

public javax.security.auth.callback.CallbackHandler getPasswordCallbackRef()
Deprecated. 
Returns:
Returns the passwordCallbackRef.

setPasswordCallbackClass

public void setPasswordCallbackClass(java.lang.String passwordCallbackClass)
Deprecated. 
Parameters:
passwordCallbackClass - The passwordCallbackClass to set.

getEncryptionUser

public java.lang.String getEncryptionUser()
Deprecated. 
Returns:
Returns the encryptionUser.

setEncryptionUser

public void setEncryptionUser(java.lang.String encryptionUser)
Deprecated. 
Parameters:
encryptionUser - The encryptionUser to set.

isProvideEntropy

public boolean isProvideEntropy()
Deprecated. 
Returns:
Returns the provideEntropy.

setProvideEntropy

public void setProvideEntropy(boolean provideEntropy)
Deprecated. 
Parameters:
provideEntropy - The provideEntropy to set.

getCrypto

public org.apache.ws.security.components.crypto.Crypto getCrypto()
Deprecated. 
Returns:
Returns the crypto.

setCrypto

protected void setCrypto(org.apache.ws.security.components.crypto.Crypto crypto)
Deprecated. 
Parameters:
crypto - The crypto to set.

getClassLoader

protected java.lang.ClassLoader getClassLoader()
Deprecated. 
Returns:
Returns the classLoader.

setClassLoader

protected void setClassLoader(java.lang.ClassLoader classLoader)
Deprecated. 
Parameters:
classLoader - The classLoader to set.

getMsgCtx

public org.apache.axis2.context.MessageContext getMsgCtx()
Deprecated. 
Returns:
Returns the msgCtx.

getContextIdentifier

public java.lang.String getContextIdentifier()
Deprecated. 
Returns:
Returns the contextIdentifier.

setContextIdentifier

protected void setContextIdentifier(java.lang.String contextIdentifier)
Deprecated. 
Parameters:
contextIdentifier - The contextIdentifier to set.

getWstVersion

public int getWstVersion()
Deprecated. 
Returns:
Returns the wstVersion.

setWstVersion

public void setWstVersion(int wstVersion)
Deprecated. 
Parameters:
wstVersion - The wstVersion to set.


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.