java,
分享于 点击 46360 次 点评:20
java,
if(null!=profile.getUserName()&&"".equalsIgnoreCase(profile.getUserName().trim())){Map<String, Object> outProps = new HashMap<String, Object>();
outProps.put(WSHandlerConstants.ACTION,
WSHandlerConstants.USERNAME_TOKEN);
outProps.put(WSHandlerConstants.USER, profile.getUserName());
outProps.put(WSHandlerConstants.PASSWORD_TYPE, WSConstants.PW_TEXT);
WSClinetAuthHandler handler = new WSClinetAuthHandler();
handler.setPassword(profile.getPassWord());
outProps.put(WSHandlerConstants.PW_CALLBACK_REF, handler);
profile.setOutProps(outProps);
}else{
profile.setOutProps(null);
}
相关文章
- 暂无相关文章
用户点评