The following document contains the results of Rat (Release Audit Tool).
***************************************************** Summary ------- Generated at: 2017-03-12T00:07:56-05:00 Notes: 0 Binaries: 0 Archives: 0 Standards: 8 Apache Licensed: 0 Generated Documents: 0 JavaDocs are generated, thus a license header is optional. Generated files do not require license headers. 8 Unknown Licenses ***************************************************** Files with unapproved licenses: C:/projects/fgsms/fgsms-server/fgsms-status-bueller/pom.xml C:/projects/fgsms/fgsms-server/fgsms-status-bueller/src/main/java/org/miloss/fgsms/bueller/AuthSSLInitializationError.java C:/projects/fgsms/fgsms-server/fgsms-status-bueller/src/main/java/org/miloss/fgsms/bueller/AuthSSLProtocolSocketFactory.java C:/projects/fgsms/fgsms-server/fgsms-status-bueller/src/main/java/org/miloss/fgsms/bueller/AuthSSLX509TrustManager.java C:/projects/fgsms/fgsms-server/fgsms-status-bueller/src/main/java/org/miloss/fgsms/bueller/Bueller.java C:/projects/fgsms/fgsms-server/fgsms-status-bueller/src/main/java/org/miloss/fgsms/bueller/BuellerWorker.java C:/projects/fgsms/fgsms-server/fgsms-status-bueller/src/test/java/org/miloss/fgsms/bueller/BuellerTest.java C:/projects/fgsms/fgsms-server/fgsms-status-bueller/src/test/java/org/miloss/fgsms/bueller/FgsmsStatusbuellerSuite.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-server/fgsms-status-bueller/pom.xml !????? C:/projects/fgsms/fgsms-server/fgsms-status-bueller/src/main/java/org/miloss/fgsms/bueller/AuthSSLInitializationError.java !????? C:/projects/fgsms/fgsms-server/fgsms-status-bueller/src/main/java/org/miloss/fgsms/bueller/AuthSSLProtocolSocketFactory.java !????? C:/projects/fgsms/fgsms-server/fgsms-status-bueller/src/main/java/org/miloss/fgsms/bueller/AuthSSLX509TrustManager.java !????? C:/projects/fgsms/fgsms-server/fgsms-status-bueller/src/main/java/org/miloss/fgsms/bueller/Bueller.java !????? C:/projects/fgsms/fgsms-server/fgsms-status-bueller/src/main/java/org/miloss/fgsms/bueller/BuellerWorker.java !????? C:/projects/fgsms/fgsms-server/fgsms-status-bueller/src/test/java/org/miloss/fgsms/bueller/BuellerTest.java !????? C:/projects/fgsms/fgsms-server/fgsms-status-bueller/src/test/java/org/miloss/fgsms/bueller/FgsmsStatusbuellerSuite.java ***************************************************** Printing headers for text files without a valid license header... ===================================================== == File: C:/projects/fgsms/fgsms-server/fgsms-status-bueller/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-server</artifactId> <version>7.0.0</version> </parent> <artifactId>fgsms-status-bueller</artifactId> <packaging>bundle</packaging> <name>fgsms Status (Bueller) Agent</name> <description>The Status Agent runs with a computer/operating system and monitors the system itself and any running process on it.</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-server/fgsms-status-bueller/src/main/java/org/miloss/fgsms/bueller/AuthSSLInitializationError.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.bueller; /** * * @author AO */ class AuthSSLInitializationError extends Exception { public AuthSSLInitializationError(String string) { } } ===================================================== == File: C:/projects/fgsms/fgsms-server/fgsms-status-bueller/src/main/java/org/miloss/fgsms/bueller/AuthSSLProtocolSocketFactory.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.bueller; import java.io.IOException; import java.io.InputStream; import java.net.InetAddress; import java.net.Socket; import java.net.URL; import java.net.UnknownHostException; import java.security.GeneralSecurityException; import java.security.KeyStore; import java.security.KeyStoreException; import java.security.NoSuchAlgorithmException; import java.security.UnrecoverableKeyException; import java.security.cert.Certificate; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import java.util.Enumeration; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import javax.net.ssl.KeyManager; import javax.net.ssl.KeyManagerFactory; import javax.net.ssl.SSLContext; import javax.net.ssl.TrustManager; import javax.net.ssl.TrustManagerFactory; /** * <p> * AuthSSLProtocolSocketFactory can be used to validate the identity of the HTTPS * server against a list of trusted certificates and to authenticate to the HTTPS * server using a private key. ===================================================== == File: C:/projects/fgsms/fgsms-server/fgsms-status-bueller/src/main/java/org/miloss/fgsms/bueller/AuthSSLX509TrustManager.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.bueller; import javax.net.ssl.TrustManager; import javax.net.ssl.X509TrustManager; import java.security.cert.X509Certificate; import javax.net.ssl.X509TrustManager; import java.security.cert.CertificateException; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; /** * * @author AO */ class AuthSSLX509TrustManager implements TrustManager { private X509TrustManager defaultTrustManager = null; /** Log object for this class. */ private static final Log LOG = LogFactory.getLog(AuthSSLX509TrustManager.class); /** * Constructor for AuthSSLX509TrustManager. */ public AuthSSLX509TrustManager(final X509TrustManager defaultTrustManager) { super(); if (defaultTrustManager == null) { throw new IllegalArgumentException("Trust manager may not be null"); } ===================================================== == File: C:/projects/fgsms/fgsms-server/fgsms-status-bueller/src/main/java/org/miloss/fgsms/bueller/Bueller.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.bueller; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; import java.io.RandomAccessFile; import java.net.HttpURLConnection; import java.net.URL; import java.nio.channels.FileChannel; import java.nio.channels.FileLock; import java.security.KeyStore; import java.security.SecureRandom; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Properties; import javax.jms.*; import javax.naming.Context; import javax.naming.InitialContext; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; import org.apache.http.auth.AuthScope; import org.apache.http.auth.Credentials; import org.apache.http.auth.NTCredentials; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.client.methods.HttpGet; import org.apache.http.conn.scheme.Scheme; import org.apache.http.conn.ssl.AllowAllHostnameVerifier; ===================================================== == File: C:/projects/fgsms/fgsms-server/fgsms-status-bueller/src/main/java/org/miloss/fgsms/bueller/BuellerWorker.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.bueller; import java.util.List; import javax.resource.spi.work.Work; import org.apache.log4j.Level; import org.miloss.fgsms.sla.AuxHelper; import org.miloss.fgsms.sla.SLACommon; /** * * @author AO */ public class BuellerWorker implements Work { private String url = ""; private boolean pooled = false; private Bueller reference=null; public BuellerWorker(String connecturl, boolean pooled, Bueller ref) { this.pooled = pooled; url = connecturl; reference = ref; } @Override public void release() { } @Override public void run() { try { ===================================================== == File: C:/projects/fgsms/fgsms-server/fgsms-status-bueller/src/test/java/org/miloss/fgsms/bueller/BuellerTest.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.bueller; import static org.junit.Assert.*; import org.junit.Assume; import org.junit.Ignore; import org.miloss.fgsms.common.DBSettingsLoader; import org.miloss.fgsms.common.IpAddressUtility; import org.miloss.fgsms.test.WebServiceBaseTests; /** * This tests some functionality for Bueller, the remainder is tested via * tests/SmokeTestBueller. Many of these tests are dependent on local * configuration AND the fgsms server has to be running on port 8180 * * @author AO */ public class BuellerTest extends WebServiceBaseTests { public BuellerTest() throws Exception { super(); url = "http://localhost:4444/bueller"; Init(); instance = new Bueller(); instance.Init(true); } static Bueller instance; /** ===================================================== == File: C:/projects/fgsms/fgsms-server/fgsms-status-bueller/src/test/java/org/miloss/fgsms/bueller/FgsmsStatusbuellerSuite.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.bueller; import org.junit.runner.RunWith; import org.junit.runners.Suite; /** * * @author AO */ @org.junit.runner.RunWith(org.junit.runners.Suite.class) @org.junit.runners.Suite.SuiteClasses({BuellerTest.class}) public class FgsmsStatusbuellerSuite { @org.junit.BeforeClass public static void setUpClass() throws Exception { } @org.junit.AfterClass public static void tearDownClass() throws Exception { } @org.junit.Before public void setUp() throws Exception { } @org.junit.After public void tearDown() throws Exception { }