37684. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 1/17/2019 10:54:40 AM Central Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

37684.1 Files compared

# Location File Last Modified
1 v1_iter_1_VIP_Build_4_Dec_2018_CG.zip\v1_iter_1_VIP_Build_4\portlets\caret-portlet\docroot\WEB-INF\src\gov\via\sts\service StsService.java Wed Jan 16 16:06:46 2019 UTC
2 v1_iter_1_VIP_Build_4_Dec_2018_CG.zip\v1_iter_1_VIP_Build_4\portlets\caret-portlet\docroot\WEB-INF\src\gov\via\sts\service StsService.java Wed Jan 16 20:19:02 2019 UTC

37684.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 102
Changed 1 2
Inserted 0 0
Removed 0 0

37684.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

37684.4 Active regular expressions

No regular expressions were active.

37684.5 Comparison detail

  1   package go v.via.sts. service;
  2  
  3   import jav ax.portlet .ActionReq uest;
  4  
  5   import org .sts.Reque stSecurity TokenRespo nseType;
  6   import org .sts.Reque stSecurity TokenType;
  7   import org .sts.Secur ityTokenSe rvice;
  8   import org .sts.Secur ityTokenSe rvice_Serv ice;
  9  
  10   import com .liferay.p ortal.kern el.log.Log ;
  11   import com .liferay.p ortal.kern el.log.Log FactoryUti l;
  12  
  13   import gov .va.caret. model.supp ort.VcgSup port;
  14  
  15  
  16   public cla ss StsServ ice {
  17           pr ivate stat ic final L og _log =  LogFactory Util.getLo g( StsServ ice.class  );
  18           pu blic final  static St ring appId  = "200CAR E";
  19           fi nal static  String re ason = "Ap prove";
  20           fi nal static  String fi leName = " 10-10CG.pd f";
  21           
  22           pr ivate StsS ervice(){}
  23           
  24           pu blic stati c void get EmrSvcInte rface(VcgS upport vcg , ActionRe quest requ est) {
  25                    Secu rityTokenS ervice_Ser vice secur ityTokenSe rvice_Serv ice = new  SecurityTo kenService _Service() ;
  26                    Secu rityTokenS ervice sec urityToken Service =  null;                
  27                    StsH eaderHandl erResolver  handlerRe solver = n ew StsHead erHandlerR esolver();
  28                    secu rityTokenS ervice_Ser vice.setHa ndlerResol ver(handle rResolver) ;
  29                    
  30                    secu rityTokenS ervice = s ecurityTok enService_ Service.ge tRequestSe curityToke n();
  31                    Requ estSecurit yTokenType  requestSe curityToke nType = ne w RequestS ecurityTok enType();
  32                    
  33                    /*QN ame qNameA dress = ne w QName("x mlns:wsa",  "http://s chemas.xml soap.org/w s/2004/08/ addressing ");
  34                    Issu erBuilder  issuerBuil der = new  IssuerBuil der();
  35                Issuer i ssuer = is suerBuilde r.buildObj ect();
  36                AddressB uilder adr essBuilder  = new Add ressBuilde r();
  37                Address  adress =   adressBuil der.buildO bject(qNam eAdress);
  38                 adress.set Value("htt ps:// DNS               /Issuer/sm token/SAML 2");
  39                issuer.s etAddress( adress);*/
  40           
  41                    Requ estSecurit yTokenResp onseType r equestSecu rityTokenR esponseTyp e = securi tyTokenSer vice.reque stSecurity Token(requ estSecurit yTokenType );
  42                    
  43                    /*@S uppressWar nings("unu sed")
  44                    Text TO textTO  = TiuServi ce.WriteTI UNote(vcg,  request,
  45                                      "test ti tle",
  46                                      "test bo dy",
  47                                      "123456" );*/
  48                    
  49                    //re turn reque stSecurity TokenType;
  50           }
  51           
  52   }