Ashok,

feel free to do it :-).

If it works for you we appreciate if you can 
do a diff and send it to the list (or even
better open a JIRA report and append the diff).

If the modification does not cause problems
in other part and does not affect existing
deployment too much we will include it.

Regards,
Werner

> -----Urspr�ngliche Nachricht-----
> Von: Ashok Shah [mailto:[EMAIL PROTECTED] 
> Gesendet: Freitag, 20. Mai 2005 08:28
> An: [email protected]
> Betreff: SAML Assertion property file dependency
> 
> 
> Hello,
> 
> I am using the WSS4J's SAML profile. Because of our 
> infrastructure, we  
> cannot use property files to initialize the security 
> components for the  
> WSS4J handlers. I was able to remove the property files 
> dependency for the  
> keystore by extending the WSS4JHandler.java class and 
> overridding the  
> functions that return the Crypto instances (loadEncryptionCrypto,  
> loadDecryptionCrypto, loadSignatureCrypto).
> 
> The methods performSTAction and performST_SIGAction have 
> private access.  
> The code to load the SAML Assertion (using the property file) 
> is located  
> in this function. I was wonderinig if the piece of code that 
> loads the  
> SAML Assertion could be seperated from this methods, and put 
> into a method  
> with protected acces which returns SAML Assertion, like the 
> crypto methods.
> 
> Thanks,
> 
> Ashok
> 

Reply via email to