Fork me on GitHub

Rat (Release Audit Tool) results

The following document contains the results of Rat (Release Audit Tool).

*****************************************************
Summary
-------
Generated at: 2017-03-11T23:44:31-05:00

Notes: 0
Binaries: 0
Archives: 0
Standards: 4

Apache Licensed: 0
Generated Documents: 0

JavaDocs are generated, thus a license header is optional.
Generated files do not require license headers.

4 Unknown Licenses

*****************************************************

Files with unapproved licenses:

  C:/projects/fgsms/fgsms-agents/fgsms-jaxws-agent/pom.xml
  C:/projects/fgsms/fgsms-agents/fgsms-jaxws-agent/src/main/java/org/miloss/fgsms/agents/JAXWSGenericAgent.java
  C:/projects/fgsms/fgsms-agents/fgsms-jaxws-agent/src/main/java/org/miloss/fgsms/agents/JAXWSGenericClientAgent.java
  C:/projects/fgsms/fgsms-agents/fgsms-jaxws-agent/src/main/java/org/miloss/fgsms/agents/JAXWSGenericCommonMessageHandler.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-jaxws-agent/pom.xml
 !????? C:/projects/fgsms/fgsms-agents/fgsms-jaxws-agent/src/main/java/org/miloss/fgsms/agents/JAXWSGenericAgent.java
 !????? C:/projects/fgsms/fgsms-agents/fgsms-jaxws-agent/src/main/java/org/miloss/fgsms/agents/JAXWSGenericClientAgent.java
 !????? C:/projects/fgsms/fgsms-agents/fgsms-jaxws-agent/src/main/java/org/miloss/fgsms/agents/JAXWSGenericCommonMessageHandler.java
 
*****************************************************

 Printing headers for text files without a valid license header...
 
=====================================================
== File: C:/projects/fgsms/fgsms-agents/fgsms-jaxws-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-jaxws-agent</artifactId>
    <packaging>bundle</packaging>
    <name>fgsms Generic JAXWS Agent</name>
    <description>The recommended agent for JAXWS based services</description>
    <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>
            <artifactId>fgsms-common-interfaces</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
        <dependency>

=====================================================
== File: C:/projects/fgsms/fgsms-agents/fgsms-jaxws-agent/src/main/java/org/miloss/fgsms/agents/JAXWSGenericAgent.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.util.Collections;
import java.util.Set;

import javax.xml.namespace.QName;
import javax.xml.soap.SOAPException;
import javax.xml.ws.handler.MessageContext;
import javax.xml.ws.handler.soap.SOAPHandler;
import javax.xml.ws.handler.soap.SOAPMessageContext;
import org.miloss.fgsms.common.Constants;
import org.apache.log4j.Level;
import org.miloss.fgsms.common.Logger;;

/**
 * FGSMS agent for services
 *
 * @author AO
 */
public class JAXWSGenericAgent implements SOAPHandler<SOAPMessageContext> {

    private Logger log;

    public JAXWSGenericAgent() {
        log = Logger.getLogger(org.miloss.fgsms.common.Constants.LoggerName);
    }

    public boolean handleMessage(SOAPMessageContext messageContext) {
        //long start = System.currentTimeMillis();
        // MessageProcessor obj = MessageProcessor.getSingletonObject();
        Boolean isRequest = !(Boolean) messageContext.get(SOAPMessageContext.MESSAGE_OUTBOUND_PROPERTY);

=====================================================
== File: C:/projects/fgsms/fgsms-agents/fgsms-jaxws-agent/src/main/java/org/miloss/fgsms/agents/JAXWSGenericClientAgent.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.util.Set;
import javax.xml.namespace.QName;
import javax.xml.ws.handler.MessageContext;
import javax.xml.ws.handler.soap.SOAPHandler;
import javax.xml.ws.handler.soap.SOAPMessageContext;
import org.apache.log4j.Level;
import org.miloss.fgsms.common.Logger;;

/**
 * FGSMS handlers for JAXWS Clients
 *
 * @author AO
 */
public class JAXWSGenericClientAgent implements SOAPHandler<SOAPMessageContext> {

    static final Logger log = Logger.getLogger(org.miloss.fgsms.common.Constants.LoggerName);

    public Set<QName> getHeaders() {
        return null;
    }

    public boolean handleMessage(SOAPMessageContext messageContext) {
        Boolean isOutbound = (Boolean) messageContext.get(messageContext.MESSAGE_OUTBOUND_PROPERTY);

        if (isOutbound) {

            try {
                ProcessOutboundMessage(messageContext);
            } catch (Exception ex) {

=====================================================
== File: C:/projects/fgsms/fgsms-agents/fgsms-jaxws-agent/src/main/java/org/miloss/fgsms/agents/JAXWSGenericCommonMessageHandler.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 com.sun.net.httpserver.HttpExchange;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.*;
import javax.servlet.http.HttpServletRequest;
import javax.xml.soap.SOAPMessage;
import javax.xml.ws.handler.soap.SOAPMessageContext;
import org.miloss.fgsms.agentcore.DependencyHelper;
import org.miloss.fgsms.agentcore.MessageProcessor;
import org.miloss.fgsms.common.Utility;
import org.apache.log4j.Level;
import org.miloss.fgsms.agentcore.IMessageProcessor;
import org.miloss.fgsms.common.Logger;
;
import org.miloss.fgsms.common.Constants;

/**
 * This class covers all JAXWS based handler traffic, client and service side
 *
 * @author AO
 */


public class JAXWSGenericCommonMessageHandler {

    static final Logger log = Logger.getLogger(org.miloss.fgsms.common.Constants.LoggerName);