Hi
   Regarding $subject, what would be the best way to accomplish ?
             According to the EntitlementMediator implementation it seems
we are using a different approach as shown below [1], any reason which
prevent us moving to synapse secure vault and also seems there are zero
documentation related to Synapse secure vault configuration.


[1]
https://svn.wso2.org/repos/wso2/carbon/platform/trunk/components/identity/org.wso2.carbon.identity.entitlement.mediator/src/main/java/org/wso2/carbon/identity/entitlement/mediator/EntitlementMediator.java


 public void setRemoteServicePassword(String remoteServicePassword) {
        if (remoteServicePassword.startsWith("enc:")) {
            try {
              *  this.remoteServicePassword = new
String(CryptoUtil.getDefaultCryptoUtil()*
*
.base64DecodeAndDecrypt(remoteServicePassword.substring(4)));*
            } catch (CryptoException e) {
                 log.error(e);
            }
        } else {
            this.remoteServicePassword = remoteServicePassword;
        }
    }

Cheers,
Dushan Abeyruwan
Associate Tech Lead
*Integration Technologies Team*
*WSO2 Inc. http://wso2.com/*
*Mobile:(+94)714408632*
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to