欢迎访问悦橙教程(wld5.com),关注java教程。悦橙教程  java问答|  每日更新
页面导航 : > > 文章正文

java,

来源: javaer 分享于  点击 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);
     }

相关文章

    暂无相关文章
相关栏目:

用户点评