Commit 1423343f authored by Bernhard Rumpe's avatar Bernhard Rumpe
Browse files

BR-sy

parent c5346850
<!-- (c) https://github.com/MontiCore/monticore -->
# MonitSecArc # MonitSecArc
MontiSecArc (MSA) is a Security Architecture Description Language. This repository contains tooling based on MontiCore for Security Architecture Analysis and development of generators to derive code from MSA models. MontiSecArc (MSA) is a Security Architecture Description Language. This repository contains tooling based on MontiCore for Security Architecture Analysis and development of generators to derive code from MSA models.
......
...@@ -5,4 +5,4 @@ config { ...@@ -5,4 +5,4 @@ config {
Require-Model: Require-Model:
"de.monticore.java.lib-3.1.1-symbols.jar", "de.monticore.java.lib-3.1.1-symbols.jar",
"../montiSecArcFE/src/main/grammars" "../montiSecArcFE/src/main/grammars"
} }
\ No newline at end of file
<!-- (c) https://github.com/MontiCore/monticore -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <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/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
......
/* (c) https://github.com/MontiCore/monticore */
/* Copyright (c) 2012 RWTH Aachen. All rights reserved. /* Copyright (c) 2012 RWTH Aachen. All rights reserved.
* *
* http://www.monticore.de/ - http://www.se-rwth.de/ */ * http://www.monticore.de/ - http://www.se-rwth.de/ */
......
/* (c) https://github.com/MontiCore/monticore */
package secarc; package secarc;
import java.util.ArrayList; import java.util.ArrayList;
......
/* (c) https://github.com/MontiCore/monticore */
package secarc; package secarc;
......
/* (c) https://github.com/MontiCore/monticore */
/* Copyright (c) 2012 RWTH Aachen. All rights reserved. /* Copyright (c) 2012 RWTH Aachen. All rights reserved.
* *
* http://www.monticore.de/ - http://www.se-rwth.de/ */ * http://www.monticore.de/ - http://www.se-rwth.de/ */
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.error; package secarc.error;
import mc.IErrorCode; import mc.IErrorCode;
...@@ -5,13 +6,7 @@ import mc.IErrorCode; ...@@ -5,13 +6,7 @@ import mc.IErrorCode;
/** /**
* Enumeration containing the MontiSecArcAnalysis error codes. * Enumeration containing the MontiSecArcAnalysis error codes.
* *
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved.
* *
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
*/ */
public enum MontiSecArcAnalysisErrorCodes implements IErrorCode { public enum MontiSecArcAnalysisErrorCodes implements IErrorCode {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker; package secarc.ets.analysis.checker;
import interfaces2.coco.ContextCondition; import interfaces2.coco.ContextCondition;
...@@ -5,13 +6,7 @@ import interfaces2.coco.ContextCondition; ...@@ -5,13 +6,7 @@ import interfaces2.coco.ContextCondition;
/** /**
* Analysis are special context conditions * Analysis are special context conditions
* *
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
* *
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
* *
*/ */
public abstract class Analysis extends ContextCondition { public abstract class Analysis extends ContextCondition {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker; package secarc.ets.analysis.checker;
import org.jgrapht.traverse.DepthFirstIterator; import org.jgrapht.traverse.DepthFirstIterator;
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker; package secarc.ets.analysis.checker;
import secarc.ets.entries.SecComponentEntry; import secarc.ets.entries.SecComponentEntry;
...@@ -9,13 +10,7 @@ import interfaces2.resolvers.AmbigousException; ...@@ -9,13 +10,7 @@ import interfaces2.resolvers.AmbigousException;
* Analysis checker interface for checking component * Analysis checker interface for checking component
* related analysis * related analysis
* *
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
* *
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
* *
*/ */
public interface ISecAnalysisComponentChecker { public interface ISecAnalysisComponentChecker {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker; package secarc.ets.analysis.checker;
import secarc._ast.ASTSecArcConfiguration; import secarc._ast.ASTSecArcConfiguration;
...@@ -7,13 +8,7 @@ import secarc.ets.entries.ConfigurationEntry; ...@@ -7,13 +8,7 @@ import secarc.ets.entries.ConfigurationEntry;
* Analysis checker interface for checking configuration * Analysis checker interface for checking configuration
* related analysis * related analysis
* *
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
* *
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
* *
*/ */
public interface ISecAnalysisConfigurationChecker { public interface ISecAnalysisConfigurationChecker {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker; package secarc.ets.analysis.checker;
import mc.umlp.arcd._ast.ASTArcConnector; import mc.umlp.arcd._ast.ASTArcConnector;
...@@ -10,13 +11,7 @@ import interfaces2.resolvers.AmbigousException; ...@@ -10,13 +11,7 @@ import interfaces2.resolvers.AmbigousException;
* Analysis checker interface for checking connector * Analysis checker interface for checking connector
* related analysis * related analysis
* *
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
* *
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
* *
*/ */
public interface ISecAnalysisConnectorChecker { public interface ISecAnalysisConnectorChecker {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker; package secarc.ets.analysis.checker;
import interfaces2.resolvers.AmbigousException; import interfaces2.resolvers.AmbigousException;
...@@ -9,13 +10,7 @@ import secarc.ets.graph.ArchitectureGraph; ...@@ -9,13 +10,7 @@ import secarc.ets.graph.ArchitectureGraph;
* Analysis checker interface for checking filter * Analysis checker interface for checking filter
* related analysis * related analysis
* *
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
* *
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
* *
*/ */
public interface ISecAnalysisFilterChecker { public interface ISecAnalysisFilterChecker {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker; package secarc.ets.analysis.checker;
import interfaces2.resolvers.AmbigousException; import interfaces2.resolvers.AmbigousException;
...@@ -9,13 +10,7 @@ import secarc.ets.graph.ArchitectureGraph; ...@@ -9,13 +10,7 @@ import secarc.ets.graph.ArchitectureGraph;
* Analysis checker interface for checking identity * Analysis checker interface for checking identity
* related analysis * related analysis
* *
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
* *
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
* *
*/ */
public interface ISecAnalysisIdentityChecker { public interface ISecAnalysisIdentityChecker {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker; package secarc.ets.analysis.checker;
import interfaces2.resolvers.AmbigousException; import interfaces2.resolvers.AmbigousException;
...@@ -7,13 +8,7 @@ import mc.umlp.arcd._ast.ASTMCCompilationUnit; ...@@ -7,13 +8,7 @@ import mc.umlp.arcd._ast.ASTMCCompilationUnit;
* Analysis checker interface for checking parameter * Analysis checker interface for checking parameter
* related analysis * related analysis
* *
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
* *
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
* *
*/ */
public interface ISecAnalysisParameterChecker { public interface ISecAnalysisParameterChecker {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker; package secarc.ets.analysis.checker;
import interfaces2.resolvers.AmbigousException; import interfaces2.resolvers.AmbigousException;
...@@ -9,13 +10,7 @@ import mc.umlp.arcd._ast.ASTArcPort; ...@@ -9,13 +10,7 @@ import mc.umlp.arcd._ast.ASTArcPort;
* Analysis checker interface for checking port * Analysis checker interface for checking port
* related analysis * related analysis
* *
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
* *
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
* *
*/ */
public interface ISecAnalysisPortChecker { public interface ISecAnalysisPortChecker {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker; package secarc.ets.analysis.checker;
import interfaces2.resolvers.AmbigousException; import interfaces2.resolvers.AmbigousException;
...@@ -10,13 +11,7 @@ import secarc.ets.graph.ArchitectureGraph; ...@@ -10,13 +11,7 @@ import secarc.ets.graph.ArchitectureGraph;
* Analysis checker interface for checking role * Analysis checker interface for checking role
* related analysis * related analysis
* *
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
* *
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
* *
*/ */
public interface ISecAnalysisRoleChecker { public interface ISecAnalysisRoleChecker {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker; package secarc.ets.analysis.checker;
import interfaces2.resolvers.AmbigousException; import interfaces2.resolvers.AmbigousException;
...@@ -8,13 +9,7 @@ import secarc.ets.entries.TrustlevelRelationEntry; ...@@ -8,13 +9,7 @@ import secarc.ets.entries.TrustlevelRelationEntry;
* Analysis checker interface for checking trustlevelrelation * Analysis checker interface for checking trustlevelrelation
* related analysis * related analysis
* *
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
* *
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
* *
*/ */
public interface ISecAnalysisTrustlevelRelationChecker { public interface ISecAnalysisTrustlevelRelationChecker {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.component; package secarc.ets.analysis.component;
import interfaces2.resolvers.AmbigousException; import interfaces2.resolvers.AmbigousException;
...@@ -13,13 +14,7 @@ import secarc.ets.entries.SecComponentEntry; ...@@ -13,13 +14,7 @@ import secarc.ets.entries.SecComponentEntry;
/** /**
* L06: Lists all third party components with configuration and cpe * L06: Lists all third party components with configuration and cpe
* *
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
* *
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
* *
*/ */
public class ListThirdPartyComponents extends Analysis implements public class ListThirdPartyComponents extends Analysis implements
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.configuration; package secarc.ets.analysis.configuration;
import mc.IErrorCode; import mc.IErrorCode;
...@@ -16,13 +17,7 @@ import secarc.ets.entries.ConfigurationEntry; ...@@ -16,13 +17,7 @@ import secarc.ets.entries.ConfigurationEntry;
* - Analysis of error codes * - Analysis of error codes
* Configuration management testing * Configuration management testing
* *
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
* *
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
* *
*/ */
public class ReviewedConfiguration extends Analysis implements public class ReviewedConfiguration extends Analysis implements
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.connect; package secarc.ets.analysis.connect;
import org.jgrapht.traverse.DepthFirstIterator; import org.jgrapht.traverse.DepthFirstIterator;
...@@ -24,13 +25,7 @@ import secarc.ets.graph.Vertex; ...@@ -24,13 +25,7 @@ import secarc.ets.graph.Vertex;
* E03: Checks if an encrypted path continues unencrypted. * E03: Checks if an encrypted path continues unencrypted.
* Then the message is readable for the following components * Then the message is readable for the following components
* *
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
* *
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
* *
*/ */
public class EncryptedPathContinuesUnencrypted extends Analysis implements public class EncryptedPathContinuesUnencrypted extends Analysis implements
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.connect; package secarc.ets.analysis.connect;
...@@ -28,13 +29,7 @@ import mc.umlp.arcd.ets.entries.PortEntry; ...@@ -28,13 +29,7 @@ import mc.umlp.arcd.ets.entries.PortEntry;
* *
* - SSL/TLS Testing * - SSL/TLS Testing
* *
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
* *
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
* *
*/ */
public class EncryptedPathWithUnencryptedPart extends Analysis public class EncryptedPathWithUnencryptedPart extends Analysis
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.connect; package secarc.ets.analysis.connect;
import mc.IErrorCode; import mc.IErrorCode;
...@@ -23,13 +24,7 @@ import secarc.ets.graph.ArchitectureGraph; ...@@ -23,13 +24,7 @@ import secarc.ets.graph.ArchitectureGraph;
* *
* - SSL/TLS Testing * - SSL/TLS Testing
* *
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
* *
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
* *
*/ */
public class UnencryptedConnectorThroughLowTurstlevel extends DerivedTrustlevel public class UnencryptedConnectorThroughLowTurstlevel extends DerivedTrustlevel
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.filter; package secarc.ets.analysis.filter;
import interfaces2.resolvers.AmbigousException; import interfaces2.resolvers.AmbigousException;
...@@ -14,13 +15,7 @@ import secarc.ets.graph.ArchitectureGraph; ...@@ -14,13 +15,7 @@ import secarc.ets.graph.ArchitectureGraph;
/** /**
* L05: String is a very unspecific input type. Therfore, it should be avoided * L05: String is a very unspecific input type. Therfore, it should be avoided
* *
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
* *
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
* *
*/ */
public class AvoidInputString extends Analysis implements public class AvoidInputString extends Analysis implements
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.filter; package secarc.ets.analysis.filter;
...@@ -33,13 +34,7 @@ import secarc.ets.graph.Vertex; ...@@ -33,13 +34,7 @@ import secarc.ets.graph.Vertex;
* *
* - SSL/TLS Testing * - SSL/TLS Testing
* *
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
* *
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
*