Author: nandana
Date: Fri Feb  8 05:26:29 2008
New Revision: 619874

URL: http://svn.apache.org/viewvc?rev=619874&view=rev
Log:
adding encrypted supporting token support

Modified:
    
webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/policy/RampartPolicyData.java

Modified: 
webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/policy/RampartPolicyData.java
URL: 
http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/policy/RampartPolicyData.java?rev=619874&r1=619873&r2=619874&view=diff
==============================================================================
--- 
webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/policy/RampartPolicyData.java
 (original)
+++ 
webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/policy/RampartPolicyData.java
 Fri Feb  8 05:26:29 2008
@@ -122,6 +122,14 @@
 
     private SupportingToken signedEndorsingSupportingTokens;
     
+    private SupportingToken encryptedSupportingTokens;
+
+    private SupportingToken signedEncryptedSupportingTokens;
+
+    private SupportingToken endorsingEncryptedSupportingTokens;
+
+    private SupportingToken signedEndorsingEncryptedSupportingTokens;
+    
     private AlgorithmSuite algorithmSuite;
     
     private RampartConfig rampartConfig;
@@ -482,6 +490,14 @@
             endorsingSupportingTokens = suppTokens;
         } else if (tokenType == SPConstants.SUPPORTING_TOKEN_SIGNED_ENDORSING) 
{
             signedEndorsingSupportingTokens = suppTokens;
+        } else if (tokenType == SPConstants.SUPPORTING_TOKEN_ENCRYPTED) {
+            encryptedSupportingTokens = suppTokens;
+        } else if (tokenType == SPConstants.SUPPORTING_TOKEN_SIGNED_ENCRYPTED) 
{
+            signedEncryptedSupportingTokens = suppTokens;
+        } else if (tokenType == 
SPConstants.SUPPORTING_TOKEN_ENDORSING_ENCRYPTED) {
+            endorsingEncryptedSupportingTokens = suppTokens;
+        } else if (tokenType == 
SPConstants.SUPPORTING_TOKEN_SIGNED_ENDORSING_ENCRYPTED) {
+            signedEndorsingEncryptedSupportingTokens = suppTokens;
         }
     }
     
@@ -586,6 +602,21 @@
             SupportingToken signedEndorsingSupportingTokens) {
         this.signedEndorsingSupportingTokens = signedEndorsingSupportingTokens;
     }
+    
+    /**
+     * @return Returns the signedEndorsingEncryptedSupportingToken.
+     */
+    public SupportingToken getSignedEndorsingEncryptedSupportingTokens() {
+        return signedEndorsingEncryptedSupportingTokens;
+    }
+
+    /**
+     * @param signedEndorsingEncryptedSupportingTokens The 
signedEndorsingEncryptedSupportingToken to set.
+     */
+    public void setSignedEndorsingEncryptedSupportingTokens(
+            SupportingToken signedEndorsingEncryptedSupportingTokens) {
+        this.signedEndorsingEncryptedSupportingTokens = 
signedEndorsingEncryptedSupportingTokens;
+    }
 
     /**
      * @return Returns the signedSupportingToken.
@@ -600,6 +631,20 @@
     public void setSignedSupportingTokens(SupportingToken 
signedSupportingTokens) {
         this.signedSupportingTokens = signedSupportingTokens;
     }
+    
+    /**
+     * @return Returns the signedEncryptedSupportingToken.
+     */
+    public SupportingToken getSignedEncryptedSupportingTokens() {
+        return signedEncryptedSupportingTokens;
+    }
+
+    /**
+     * @param signedEncryptedSupportingTokens The 
signedEncryptedSupportingToken to set.
+     */
+    public void setSignedEncryptedSupportingTokens(SupportingToken 
signedEncryptedSupportingTokens) {
+        this.signedEncryptedSupportingTokens = signedEncryptedSupportingTokens;
+    }
 
     /**
      * @return Returns the supportingToken.
@@ -607,6 +652,20 @@
     public SupportingToken getSupportingTokens() {
         return supportingTokens;
     }
+    
+    /**
+     * @param encryptedSupportingTokens The encryptedSupportingToken to set.
+     */
+    public void setEncryptedSupportingTokens(SupportingToken 
encryptedSupportingTokens) {
+        this.encryptedSupportingTokens = encryptedSupportingTokens;
+    }
+    
+    /**
+     * @return Returns the encryptedSupportingToken.
+     */
+    public SupportingToken getEncryptedSupportingTokens() {
+        return encryptedSupportingTokens;
+    }
 
     /**
      * @param endorsingSupportingTokens The endorsingSupportingToken to set.
@@ -620,6 +679,20 @@
      */
     public SupportingToken getEndorsingSupportingTokens() {
         return endorsingSupportingTokens;
+    }
+    
+    /**
+     * @param endorsingEncryptedSupportingTokens The 
endorsingEncryptedSupportingToken to set.
+     */
+    public void setEndorsingEncryptedSupportingTokens(SupportingToken 
endorsingEncryptedSupportingTokens) {
+        this.endorsingEncryptedSupportingTokens = 
endorsingEncryptedSupportingTokens;
+    }
+
+    /**
+     * @return Returns the endorsingEncryptedSupportingToken.
+     */
+    public SupportingToken getEndorsingEncryptedSupportingTokens() {
+        return endorsingEncryptedSupportingTokens;
     }
 
     /**


Reply via email to