The following document contains the results of Rat (Release Audit Tool).
***************************************************** Summary ------- Generated at: 2017-03-11T23:50:57-05:00 Notes: 0 Binaries: 0 Archives: 0 Standards: 6 Apache Licensed: 0 Generated Documents: 0 JavaDocs are generated, thus a license header is optional. Generated files do not require license headers. 6 Unknown Licenses ***************************************************** Files with unapproved licenses: C:/projects/fgsms/fgsms-agents/fgsms-apache-cxf-agent/pom.xml C:/projects/fgsms/fgsms-agents/fgsms-apache-cxf-agent/src/main/java/org/miloss/fgsms/agents/CXFCommonMessageHandler.java C:/projects/fgsms/fgsms-agents/fgsms-apache-cxf-agent/src/main/java/org/miloss/fgsms/agents/CXFInterceotorOutClient.java C:/projects/fgsms/fgsms-agents/fgsms-apache-cxf-agent/src/main/java/org/miloss/fgsms/agents/CXFInterceptorInClient.java C:/projects/fgsms/fgsms-agents/fgsms-apache-cxf-agent/src/main/java/org/miloss/fgsms/agents/CXFInterceptorInService.java C:/projects/fgsms/fgsms-agents/fgsms-apache-cxf-agent/src/main/java/org/miloss/fgsms/agents/CXFInterceptorOutService.java ***************************************************** ***************************************************** Files with Apache License headers will be marked AL Binary files (which do not require any license headers) will be marked B Compressed archives will be marked A Notices, licenses etc. will be marked N !????? C:/projects/fgsms/fgsms-agents/fgsms-apache-cxf-agent/pom.xml !????? C:/projects/fgsms/fgsms-agents/fgsms-apache-cxf-agent/src/main/java/org/miloss/fgsms/agents/CXFCommonMessageHandler.java !????? C:/projects/fgsms/fgsms-agents/fgsms-apache-cxf-agent/src/main/java/org/miloss/fgsms/agents/CXFInterceotorOutClient.java !????? C:/projects/fgsms/fgsms-agents/fgsms-apache-cxf-agent/src/main/java/org/miloss/fgsms/agents/CXFInterceptorInClient.java !????? C:/projects/fgsms/fgsms-agents/fgsms-apache-cxf-agent/src/main/java/org/miloss/fgsms/agents/CXFInterceptorInService.java !????? C:/projects/fgsms/fgsms-agents/fgsms-apache-cxf-agent/src/main/java/org/miloss/fgsms/agents/CXFInterceptorOutService.java ***************************************************** Printing headers for text files without a valid license header... ===================================================== == File: C:/projects/fgsms/fgsms-agents/fgsms-apache-cxf-agent/pom.xml ===================================================== <?xml version="1.0" encoding="UTF-8"?> <!-- This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. If it is not possible or desirable to put the notice in a particular file, then You may include the notice in a location (such as a LICENSE file in a relevant directory) where a recipient would be likely to look for such a notice. U.S. Government, Department of the Army Army Materiel Command Research Development Engineering Command Communications Electronics Research Development and Engineering Center --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.mil-oss</groupId> <artifactId>fgsms-agents</artifactId> <version>7.0.0</version> </parent> <artifactId>fgsms-apache-cxf-agent</artifactId> <packaging>bundle</packaging> <name>fgsms Apache CXF Agent</name> <description>Agent for CXF based services (SOAP and REST)</description> <properties> <cxf.version>2.7.11</cxf.version> </properties> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mil-oss</groupId> <artifactId>fgsms-common</artifactId> <version>${project.parent.version}</version> </dependency> <dependency> <groupId>org.mil-oss</groupId> ===================================================== == File: C:/projects/fgsms/fgsms-agents/fgsms-apache-cxf-agent/src/main/java/org/miloss/fgsms/agents/CXFCommonMessageHandler.java ===================================================== /** * This Source Code Form is subject to the terms of the Mozilla Public License, * v. 2.0. If a copy of the MPL was not distributed with this file, You can * obtain one at http://mozilla.org/MPL/2.0/. * * If it is not possible or desirable to put the notice in a particular file, * then You may include the notice in a location (such as a LICENSE file in a * relevant directory) where a recipient would be likely to look for such a * notice. * * */ /* --------------------------------------------------------------------------- * U.S. Government, Department of the Army * Army Materiel Command * Research Development Engineering Command * Communications Electronics Research Development and Engineering Center * --------------------------------------------------------------------------- */ package org.miloss.fgsms.agents; import java.io.ByteArrayOutputStream; import java.io.InputStream; import java.io.StringWriter; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.*; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.xml.bind.JAXB; import javax.xml.namespace.QName; import org.apache.cxf.binding.soap.Soap11; import org.apache.cxf.binding.soap.Soap12; import org.miloss.fgsms.agentcore.MessageProcessor; import org.miloss.fgsms.agentcore.FgsmsSoapHeaderConstants; import org.miloss.fgsms.common.Utility; import org.apache.cxf.Bus; import org.apache.cxf.BusFactory; import org.apache.cxf.binding.Binding; import org.apache.cxf.binding.soap.SoapHeader; import org.apache.cxf.databinding.DataBinding; import org.apache.cxf.endpoint.Endpoint; import org.apache.cxf.headers.Header; import org.apache.cxf.jaxb.JAXBDataBinding; import org.apache.cxf.message.Exchange; import org.apache.cxf.message.Message; import org.apache.cxf.service.Service; import org.apache.cxf.service.model.BindingInfo; import org.apache.cxf.service.model.BindingMessageInfo; ===================================================== == File: C:/projects/fgsms/fgsms-agents/fgsms-apache-cxf-agent/src/main/java/org/miloss/fgsms/agents/CXFInterceotorOutClient.java ===================================================== /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * If it is not possible or desirable to put the notice in a particular * file, then You may include the notice in a location (such as a LICENSE * file in a relevant directory) where a recipient would be likely to look * for such a notice. * */ /* --------------------------------------------------------------------------- * U.S. Government, Department of the Army * Army Materiel Command * Research Development Engineering Command * Communications Electronics Research Development and Engineering Center * --------------------------------------------------------------------------- */ package org.miloss.fgsms.agents; import java.io.IOException; import org.apache.cxf.attachment.AttachmentDeserializer; import org.apache.cxf.interceptor.Fault; import org.apache.cxf.message.Message; import org.apache.cxf.phase.Phase; /** * * @author AO */ public class CXFInterceotorOutClient extends org.apache.cxf.phase.AbstractPhaseInterceptor { public CXFInterceotorOutClient() { //super(Phase.PRE_INVOKE); super(Phase.PREPARE_SEND); } @Override public void handleMessage(Message message) { CXFCommonMessageHandler.ProcessRequest(message, true, this.getClass().getCanonicalName()); } @Override public void handleFault(Message messageParam) { CXFCommonMessageHandler.ProcessResponse(messageParam, true, true, this.getClass().getCanonicalName()); } ===================================================== == File: C:/projects/fgsms/fgsms-agents/fgsms-apache-cxf-agent/src/main/java/org/miloss/fgsms/agents/CXFInterceptorInClient.java ===================================================== /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * If it is not possible or desirable to put the notice in a particular * file, then You may include the notice in a location (such as a LICENSE * file in a relevant directory) where a recipient would be likely to look * for such a notice. * */ /* --------------------------------------------------------------------------- * U.S. Government, Department of the Army * Army Materiel Command * Research Development Engineering Command * Communications Electronics Research Development and Engineering Center * --------------------------------------------------------------------------- */ package org.miloss.fgsms.agents; import org.apache.cxf.message.Message; import org.apache.cxf.phase.Phase; /** * * @author AO */ public class CXFInterceptorInClient extends org.apache.cxf.phase.AbstractPhaseInterceptor { public CXFInterceptorInClient() { super(Phase.POST_INVOKE); } @Override public void handleMessage(Message message) { CXFCommonMessageHandler.ProcessResponse(message, false, true, this.getClass().getCanonicalName()); } @Override public void handleFault(Message message) { CXFCommonMessageHandler.ProcessResponse(message, true, true, this.getClass().getCanonicalName()); } } ===================================================== == File: C:/projects/fgsms/fgsms-agents/fgsms-apache-cxf-agent/src/main/java/org/miloss/fgsms/agents/CXFInterceptorInService.java ===================================================== /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * If it is not possible or desirable to put the notice in a particular * file, then You may include the notice in a location (such as a LICENSE * file in a relevant directory) where a recipient would be likely to look * for such a notice. * */ /* --------------------------------------------------------------------------- * U.S. Government, Department of the Army * Army Materiel Command * Research Development Engineering Command * Communications Electronics Research Development and Engineering Center * --------------------------------------------------------------------------- */ package org.miloss.fgsms.agents; import org.apache.cxf.message.Message; import org.apache.cxf.phase.Phase; /** * * @author AO */ public class CXFInterceptorInService extends org.apache.cxf.phase.AbstractPhaseInterceptor { public CXFInterceptorInService() { super(Phase.POST_LOGICAL); } @Override public void handleMessage(Message message) { Boolean isclient = (Boolean) message.get("org.apache.cxf.client"); Boolean isinbound = (Boolean) message.get("org.apache.cxf.message.inbound"); if (isclient == null) { isclient = false; } if (isinbound == null) { isinbound = false; } if (isclient && !isinbound) //client outbound request { CXFCommonMessageHandler.ProcessRequest(message, true, this.getClass().getCanonicalName()); ===================================================== == File: C:/projects/fgsms/fgsms-agents/fgsms-apache-cxf-agent/src/main/java/org/miloss/fgsms/agents/CXFInterceptorOutService.java ===================================================== /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * If it is not possible or desirable to put the notice in a particular * file, then You may include the notice in a location (such as a LICENSE * file in a relevant directory) where a recipient would be likely to look * for such a notice. * */ /* --------------------------------------------------------------------------- * U.S. Government, Department of the Army * Army Materiel Command * Research Development Engineering Command * Communications Electronics Research Development and Engineering Center * --------------------------------------------------------------------------- */ package org.miloss.fgsms.agents; import org.apache.cxf.message.Message; import org.apache.cxf.phase.Phase; /** * * @author AO */ public class CXFInterceptorOutService extends org.apache.cxf.phase.AbstractPhaseInterceptor { public CXFInterceptorOutService() { super(Phase.POST_LOGICAL); } @Override public void handleMessage(Message message) { Boolean isclient = (Boolean) message.get("org.apache.cxf.client"); Boolean isinbound = (Boolean) message.get("org.apache.cxf.message.inbound"); if (isclient == null) { isclient = false; } if (isinbound == null) { isinbound = false; } if (isclient && !isinbound) //client outbound request { CXFCommonMessageHandler.ProcessRequest(message, true, this.getClass().getCanonicalName()); } else if (isclient && isinbound) {