This is an automated email from the ASF dual-hosted git repository.

robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-rampart.git


The following commit(s) were added to refs/heads/master by this push:
     new 3a743272 RampartEngine fixes
3a743272 is described below

commit 3a743272cf951345795ddebfa49876092d6c033c
Author: Robert Lazarski <robertlazar...@gmail.com>
AuthorDate: Thu Nov 7 11:36:45 2024 -1000

    RampartEngine fixes
---
 .../rampart-core/src/main/java/org/apache/rampart/RampartEngine.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/modules/rampart-core/src/main/java/org/apache/rampart/RampartEngine.java 
b/modules/rampart-core/src/main/java/org/apache/rampart/RampartEngine.java
index c9564ee5..3eb6d204 100644
--- a/modules/rampart-core/src/main/java/org/apache/rampart/RampartEngine.java
+++ b/modules/rampart-core/src/main/java/org/apache/rampart/RampartEngine.java
@@ -208,6 +208,7 @@ public class RampartEngine {
             requestData.setUtTTL(rampartConfig.getUtTTL());
             requestData.setUtFutureTTL(rampartConfig.getUtFutureTTL());
             
requestData.setAllowRSA15KeyTransportAlgorithm(rampartConfig.isAllowRSA15KeyTransportAlgorithm());
 // backward compatibility as true
+            requestData.setEncodePasswords(rampartConfig.isEncodePasswords());
         
        } else {
             requestData.setAllowRSA15KeyTransportAlgorithm(true); // backward 
compatibility
@@ -295,8 +296,7 @@ public class RampartEngine {
                                             
Date.from(samlAssertionHandler.getDateNotBefore()),
                                             
Date.from(samlAssertionHandler.getDateNotOnOrAfter()));
         
-                                   // FIXME
-                                    
token.setSecret(samlAssertionHandler.getAssertionKeyInfoSecret(signatureCrypto, 
tokenCallbackHandler, new RequestData()));
+                                    
token.setSecret(samlAssertionHandler.getAssertionKeyInfoSecret(signatureCrypto, 
tokenCallbackHandler, requestData));
                                     store.add(token);
                                 }
                             } catch (Exception e) {

Reply via email to