org.apache.rampart.conversation
Class ConversationConfiguration

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

public class ConversationConfiguration
extends Object

Configuration manager for Ramapart-SecConv


Field Summary
static QName CRYPTO_PROPERTIES_FILE
          Deprecated.  
static QName DERIVED_KEY_LENGTH
          Deprecated.  
static QName ENCRYPTION_USER
          Deprecated.  
static QName KEY_DERIVATION_ALGORITHM_CLASS
          Deprecated.  
static QName PW_CALLBACK_CLASS
          Deprecated.  
static String SC_CONFIG
          Deprecated.  
static QName SCOPE
          Deprecated.  
static String SCOPE_OPERATION
          Deprecated.  
static String SCOPE_SERVICE
          Deprecated.  
static QName STS_EPR_ADDRESS
          Deprecated.  
static QName TOKEN_STORE_CLASS
          Deprecated.  
 
Constructor Summary
ConversationConfiguration()
          Deprecated.  
 
Method Summary
protected  ClassLoader getClassLoader()
          Deprecated.  
 String getContextIdentifier()
          Deprecated.  
protected  Hashtable getContextMap()
          Deprecated.  
 org.apache.ws.security.components.crypto.Crypto getCrypto()
          Deprecated.  
 String getCryptoClassName()
          Deprecated.  
 Properties getCryptoProperties()
          Deprecated.  
 String getCryptoPropertiesFile()
          Deprecated.  
 String getDerivedKeyLength()
          Deprecated.  
 Document getDocument()
          Deprecated.  
 String getEncryptionUser()
          Deprecated.  
 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.  
 String getPasswordCallbackClass()
          Deprecated.  
 CallbackHandler getPasswordCallbackRef()
          Deprecated.  
 String getScope()
          Deprecated.  
 String getStsEPRAddress()
          Deprecated.  
 TokenStorage getTokenStore()
          Deprecated.  
 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(ClassLoader classLoader)
          Deprecated.  
protected  void setContextIdentifier(String contextIdentifier)
          Deprecated.  
protected  void setCrypto(org.apache.ws.security.components.crypto.Crypto crypto)
          Deprecated.  
 void setCryptoClassName(String cryptoClassName)
          Deprecated.  
 void setCryptoProperties(Properties cryptoProperties)
          Deprecated.  
 void setCryptoPropertiesFile(String cryptoPropertiesFile)
          Deprecated.  
 void setDerivedKeyLength(String derivedKeyLength)
          Deprecated.  
protected  void setDocument(Document doc)
          Deprecated.  
 void setEncryptionUser(String encryptionUser)
          Deprecated.  
 void setKeyDerivationAlgorithmClass(String keyDerivationAlgorithmClass)
          Deprecated.  
 void setPasswordCallbackClass(String passwordCallbackClass)
          Deprecated.  
 void setProvideEntropy(boolean provideEntropy)
          Deprecated.  
 void setScope(String scope)
          Deprecated.  
 void setStsEPRAddress(String stsEPRAddress)
          Deprecated.  
 void setTokenStoreClass(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 String SC_CONFIG
Deprecated. 
See Also:
Constant Field Values

SCOPE_SERVICE

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

SCOPE_OPERATION

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

SCOPE

public static final QName SCOPE
Deprecated. 

STS_EPR_ADDRESS

public static final QName STS_EPR_ADDRESS
Deprecated. 

DERIVED_KEY_LENGTH

public static final QName DERIVED_KEY_LENGTH
Deprecated. 

KEY_DERIVATION_ALGORITHM_CLASS

public static final QName KEY_DERIVATION_ALGORITHM_CLASS
Deprecated. 

TOKEN_STORE_CLASS

public static final QName TOKEN_STORE_CLASS
Deprecated. 

CRYPTO_PROPERTIES_FILE

public static final QName CRYPTO_PROPERTIES_FILE
Deprecated. 

ENCRYPTION_USER

public static final QName ENCRYPTION_USER
Deprecated. 

PW_CALLBACK_CLASS

public static final 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 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:
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 String getScope()
Deprecated. 
Returns:
Returns the scope.

getStsEPRAddress

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

getDerivedKeyLength

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

getKeyDerivationAlgorithmClass

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

setDerivedKeyLength

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

setKeyDerivationAlgorithmClass

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

setScope

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

setStsEPRAddress

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

getContextMap

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

getTokenStore

public TokenStorage getTokenStore()
                           throws Exception
Deprecated. 
Returns:
Returns the tokenStore.
Throws:
Exception

getTokenStoreClass

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

getCryptoProperties

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

setCryptoProperties

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

setTokenStoreClass

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

getCryptoPropertiesFile

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

setCryptoPropertiesFile

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

getCryptoClassName

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

setCryptoClassName

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

isSender

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

getDocument

public Document getDocument()
Deprecated. 
Returns:
Returns the doc.

setDocument

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

getPasswordCallbackClass

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

getPasswordCallbackRef

public CallbackHandler getPasswordCallbackRef()
Deprecated. 
Returns:
Returns the passwordCallbackRef.

setPasswordCallbackClass

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

getEncryptionUser

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

setEncryptionUser

public void setEncryptionUser(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 ClassLoader getClassLoader()
Deprecated. 
Returns:
Returns the classLoader.

setClassLoader

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

getMsgCtx

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

getContextIdentifier

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

setContextIdentifier

protected void setContextIdentifier(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.