This content has been marked as final.
Show 2 replies
-
1. Re: InVM transport and Secured service
sracem Apr 20, 2012 5:54 AM (in response to joe_boy12)HI,
Can you please let me know how you passed the AuthentificationRequest with message?
Thaks
-
2. Re: InVM transport and Secured service
joe_boy12 Apr 24, 2012 1:30 PM (in response to sracem)sorry for late reply was out of town...
this is how you set that on an ESB Message
try {
AuthenticationRequest authRequest = new AuthenticationRequestImpl.Builder().username(user).password(decryptedPassword.toCharArray()).build();
// set the authentication request on the message
message.getContext().setContext(SecurityService.AUTH_REQUEST, PublicCryptoUtil.INSTANCE.encrypt((Serializable) authRequest));
} catch (Exception e) {
}Joe