Author: ruchithf
Date: Tue Aug  7 17:10:35 2007
New Revision: 563707

URL: http://svn.apache.org/viewvc?view=rev&rev=563707
Log:
getting rid of unused methods

Modified:
    
webservices/rampart/branches/java/1_3/modules/rampart-trust/src/main/java/org/apache/rahas/impl/SCTIssuer.java
    
webservices/rampart/trunk/java/modules/rampart-trust/src/main/java/org/apache/rahas/impl/SCTIssuer.java

Modified: 
webservices/rampart/branches/java/1_3/modules/rampart-trust/src/main/java/org/apache/rahas/impl/SCTIssuer.java
URL: 
http://svn.apache.org/viewvc/webservices/rampart/branches/java/1_3/modules/rampart-trust/src/main/java/org/apache/rahas/impl/SCTIssuer.java?view=diff&rev=563707&r1=563706&r2=563707
==============================================================================
--- 
webservices/rampart/branches/java/1_3/modules/rampart-trust/src/main/java/org/apache/rahas/impl/SCTIssuer.java
 (original)
+++ 
webservices/rampart/branches/java/1_3/modules/rampart-trust/src/main/java/org/apache/rahas/impl/SCTIssuer.java
 Tue Aug  7 17:10:35 2007
@@ -18,7 +18,6 @@
 
 import org.apache.axiom.om.OMElement;
 import org.apache.axiom.soap.SOAPEnvelope;
-import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.description.Parameter;
 import org.apache.rahas.RahasConstants;
 import org.apache.rahas.RahasData;
@@ -35,7 +34,6 @@
 
 import java.text.DateFormat;
 import java.util.Date;
-import java.util.Hashtable;
 
 public class SCTIssuer implements TokenIssuer {
 
@@ -218,35 +216,5 @@
         } else {
             throw new ConversationException("unsupportedSecConvVersion");
         }
-    }
-    
-    /**
-     * Creates the unique (reproducible) id for to hold the context identifier
-     * of the message exchange.
-     * @return
-     */
-    private String getContextIdentifierKey(MessageContext msgContext) {
-        return msgContext.getAxisService().getName();
-    }
-    
-    
-    /**
-     * Returns the map of security context token identifiers
-     * @return
-     */
-    private Hashtable getContextMap(MessageContext msgContext) {
-        //Fist check whether its there
-        Object map = msgContext.getConfigurationContext().getProperty(
-                ConversationConstants.KEY_CONTEXT_MAP);
-        
-        if(map == null) {
-            //If not create a new one
-            map = new Hashtable();
-            //Set the map globally
-            msgContext.getConfigurationContext().setProperty(
-                    ConversationConstants.KEY_CONTEXT_MAP, map);
-        }
-        
-        return (Hashtable)map;
     }
 }

Modified: 
webservices/rampart/trunk/java/modules/rampart-trust/src/main/java/org/apache/rahas/impl/SCTIssuer.java
URL: 
http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-trust/src/main/java/org/apache/rahas/impl/SCTIssuer.java?view=diff&rev=563707&r1=563706&r2=563707
==============================================================================
--- 
webservices/rampart/trunk/java/modules/rampart-trust/src/main/java/org/apache/rahas/impl/SCTIssuer.java
 (original)
+++ 
webservices/rampart/trunk/java/modules/rampart-trust/src/main/java/org/apache/rahas/impl/SCTIssuer.java
 Tue Aug  7 17:10:35 2007
@@ -18,7 +18,6 @@
 
 import org.apache.axiom.om.OMElement;
 import org.apache.axiom.soap.SOAPEnvelope;
-import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.description.Parameter;
 import org.apache.rahas.RahasConstants;
 import org.apache.rahas.RahasData;
@@ -35,7 +34,6 @@
 
 import java.text.DateFormat;
 import java.util.Date;
-import java.util.Hashtable;
 
 public class SCTIssuer implements TokenIssuer {
 
@@ -218,35 +216,5 @@
         } else {
             throw new ConversationException("unsupportedSecConvVersion");
         }
-    }
-    
-    /**
-     * Creates the unique (reproducible) id for to hold the context identifier
-     * of the message exchange.
-     * @return
-     */
-    private String getContextIdentifierKey(MessageContext msgContext) {
-        return msgContext.getAxisService().getName();
-    }
-    
-    
-    /**
-     * Returns the map of security context token identifiers
-     * @return
-     */
-    private Hashtable getContextMap(MessageContext msgContext) {
-        //Fist check whether its there
-        Object map = msgContext.getConfigurationContext().getProperty(
-                ConversationConstants.KEY_CONTEXT_MAP);
-        
-        if(map == null) {
-            //If not create a new one
-            map = new Hashtable();
-            //Set the map globally
-            msgContext.getConfigurationContext().setProperty(
-                    ConversationConstants.KEY_CONTEXT_MAP, map);
-        }
-        
-        return (Hashtable)map;
     }
 }


Reply via email to