Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Martaf/copyrights #320

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 13 additions & 0 deletions src/AasCore.Aas3_0/constants.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

/*
* This code has been automatically generated by aas-core-codegen.
* Do NOT edit or append.
Expand Down
13 changes: 13 additions & 0 deletions src/AasCore.Aas3_0/copying.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

/*
* This code has been automatically generated by aas-core-codegen.
* Do NOT edit or append.
Expand Down
13 changes: 13 additions & 0 deletions src/AasCore.Aas3_0/jsonization.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

/*
* This code has been automatically generated by aas-core-codegen.
* Do NOT edit or append.
Expand Down
13 changes: 13 additions & 0 deletions src/AasCore.Aas3_0/reporting.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

/*
* This code has been automatically generated by aas-core-codegen.
* Do NOT edit or append.
Expand Down
13 changes: 13 additions & 0 deletions src/AasCore.Aas3_0/stringification.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

/*
* This code has been automatically generated by aas-core-codegen.
* Do NOT edit or append.
Expand Down Expand Up @@ -45,7 +58,7 @@
}

[CodeAnalysis.SuppressMessage("ReSharper", "InconsistentNaming")]
private static readonly Dictionary<string?, ModellingKind> _modellingKindFromString = (

Check warning on line 61 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Run all project unit tests

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.

Check warning on line 61 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Run all project unit tests

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.

Check warning on line 61 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Check that the whole project is buildable and attach packages to process

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
new Dictionary<string?, ModellingKind>()
{
{ "Template", Aas.ModellingKind.Template },
Expand Down Expand Up @@ -106,7 +119,7 @@
}

[CodeAnalysis.SuppressMessage("ReSharper", "InconsistentNaming")]
private static readonly Dictionary<string?, QualifierKind> _qualifierKindFromString = (

Check warning on line 122 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Run all project unit tests

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.

Check warning on line 122 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Run all project unit tests

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.

Check warning on line 122 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Check that the whole project is buildable and attach packages to process

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
new Dictionary<string?, QualifierKind>()
{
{ "ValueQualifier", Aas.QualifierKind.ValueQualifier },
Expand Down Expand Up @@ -168,7 +181,7 @@
}

[CodeAnalysis.SuppressMessage("ReSharper", "InconsistentNaming")]
private static readonly Dictionary<string?, AssetKind> _assetKindFromString = (

Check warning on line 184 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Run all project unit tests

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.

Check warning on line 184 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Run all project unit tests

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.

Check warning on line 184 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Check that the whole project is buildable and attach packages to process

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
new Dictionary<string?, AssetKind>()
{
{ "Type", Aas.AssetKind.Type },
Expand Down Expand Up @@ -244,7 +257,7 @@
}

[CodeAnalysis.SuppressMessage("ReSharper", "InconsistentNaming")]
private static readonly Dictionary<string?, AasSubmodelElements> _aasSubmodelElementsFromString = (

Check warning on line 260 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Run all project unit tests

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.

Check warning on line 260 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Run all project unit tests

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.

Check warning on line 260 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Check that the whole project is buildable and attach packages to process

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
new Dictionary<string?, AasSubmodelElements>()
{
{ "AnnotatedRelationshipElement", Aas.AasSubmodelElements.AnnotatedRelationshipElement },
Expand Down Expand Up @@ -319,7 +332,7 @@
}

[CodeAnalysis.SuppressMessage("ReSharper", "InconsistentNaming")]
private static readonly Dictionary<string?, EntityType> _entityTypeFromString = (

Check warning on line 335 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Run all project unit tests

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.

Check warning on line 335 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Run all project unit tests

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.

Check warning on line 335 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Check that the whole project is buildable and attach packages to process

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
new Dictionary<string?, EntityType>()
{
{ "CoManagedEntity", Aas.EntityType.CoManagedEntity },
Expand Down Expand Up @@ -379,7 +392,7 @@
}

[CodeAnalysis.SuppressMessage("ReSharper", "InconsistentNaming")]
private static readonly Dictionary<string?, Direction> _directionFromString = (

Check warning on line 395 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Run all project unit tests

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.

Check warning on line 395 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Run all project unit tests

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.

Check warning on line 395 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Check that the whole project is buildable and attach packages to process

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
new Dictionary<string?, Direction>()
{
{ "input", Aas.Direction.Input },
Expand Down Expand Up @@ -439,7 +452,7 @@
}

[CodeAnalysis.SuppressMessage("ReSharper", "InconsistentNaming")]
private static readonly Dictionary<string?, StateOfEvent> _stateOfEventFromString = (

Check warning on line 455 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Run all project unit tests

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.

Check warning on line 455 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Run all project unit tests

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.

Check warning on line 455 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Check that the whole project is buildable and attach packages to process

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
new Dictionary<string?, StateOfEvent>()
{
{ "on", Aas.StateOfEvent.On },
Expand Down Expand Up @@ -499,7 +512,7 @@
}

[CodeAnalysis.SuppressMessage("ReSharper", "InconsistentNaming")]
private static readonly Dictionary<string?, ReferenceTypes> _referenceTypesFromString = (

Check warning on line 515 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Run all project unit tests

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.

Check warning on line 515 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Run all project unit tests

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.

Check warning on line 515 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Check that the whole project is buildable and attach packages to process

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
new Dictionary<string?, ReferenceTypes>()
{
{ "ExternalReference", Aas.ReferenceTypes.ExternalReference },
Expand Down Expand Up @@ -581,7 +594,7 @@
}

[CodeAnalysis.SuppressMessage("ReSharper", "InconsistentNaming")]
private static readonly Dictionary<string?, KeyTypes> _keyTypesFromString = (

Check warning on line 597 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Run all project unit tests

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.

Check warning on line 597 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Run all project unit tests

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.

Check warning on line 597 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Check that the whole project is buildable and attach packages to process

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
new Dictionary<string?, KeyTypes>()
{
{ "AnnotatedRelationshipElement", Aas.KeyTypes.AnnotatedRelationshipElement },
Expand Down Expand Up @@ -691,7 +704,7 @@
}

[CodeAnalysis.SuppressMessage("ReSharper", "InconsistentNaming")]
private static readonly Dictionary<string?, DataTypeDefXsd> _dataTypeDefXsdFromString = (

Check warning on line 707 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Run all project unit tests

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.

Check warning on line 707 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Run all project unit tests

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.

Check warning on line 707 in src/AasCore.Aas3_0/stringification.cs

View workflow job for this annotation

GitHub Actions / Check that the whole project is buildable and attach packages to process

The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
new Dictionary<string?, DataTypeDefXsd>()
{
{ "xs:anyURI", Aas.DataTypeDefXsd.AnyUri },
Expand Down
13 changes: 13 additions & 0 deletions src/AasCore.Aas3_0/types.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

/*
* This code has been automatically generated by aas-core-codegen.
* Do NOT edit or append.
Expand Down
13 changes: 13 additions & 0 deletions src/AasCore.Aas3_0/verification.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

/*
* This code has been automatically generated by aas-core-codegen.
* Do NOT edit or append.
Expand Down
13 changes: 13 additions & 0 deletions src/AasCore.Aas3_0/visitation.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

/*
* This code has been automatically generated by aas-core-codegen.
* Do NOT edit or append.
Expand Down
13 changes: 13 additions & 0 deletions src/AasCore.Aas3_0/xmlization.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

/*
* This code has been automatically generated by aas-core-codegen.
* Do NOT edit or append.
Expand Down
15 changes: 14 additions & 1 deletion src/AasSecurity/AasSecurityAuthenticationHandler.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
using AasxServerStandardBib.Logging;
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

using AasxServerStandardBib.Logging;
using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
Expand Down
15 changes: 14 additions & 1 deletion src/AasSecurity/AasSecurityAuthenticationOptions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
using Microsoft.AspNetCore.Authentication;
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

using Microsoft.AspNetCore.Authentication;

namespace AasSecurity
{
Expand Down
15 changes: 14 additions & 1 deletion src/AasSecurity/AasSecurityAuthorizationHandler.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
using AasSecurity.Models;
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

using AasSecurity.Models;
using AasxServer;
using AdminShellNS.Models;
using Microsoft.AspNetCore.Authorization;
Expand Down
15 changes: 14 additions & 1 deletion src/AasSecurity/AasSecurityContext.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
using AasSecurity.Exceptions;
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

using AasSecurity.Exceptions;
using AasSecurity.Models;

namespace AasSecurity
Expand Down
13 changes: 13 additions & 0 deletions src/AasSecurity/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

using System.Runtime.CompilerServices;

[assembly:InternalsVisibleTo("AasSecurityTests")]
15 changes: 14 additions & 1 deletion src/AasSecurity/Exceptions/AuthorizationException.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
namespace AasSecurity.Exceptions
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

namespace AasSecurity.Exceptions
{
public class AuthorizationException : Exception
{
Expand Down
15 changes: 14 additions & 1 deletion src/AasSecurity/Exceptions/NotAllowed.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
namespace AasSecurity.Exceptions
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

namespace AasSecurity.Exceptions
{
public class NotAllowed : Exception
{
Expand Down
15 changes: 14 additions & 1 deletion src/AasSecurity/GlobalSecurityVariables.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
using AasSecurity.Models;
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

using AasSecurity.Models;
using System.Security.Cryptography.X509Certificates;

namespace AasSecurity
Expand Down
15 changes: 14 additions & 1 deletion src/AasSecurity/ISecurityService.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
using AasSecurity.Models;
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

using AasSecurity.Models;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;

Expand Down
15 changes: 14 additions & 1 deletion src/AasSecurity/Models/AccessControl.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
namespace AasSecurity.Models
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

namespace AasSecurity.Models
{
internal class AccessControl
{
Expand Down
15 changes: 14 additions & 1 deletion src/AasSecurity/Models/AccessControlPolicyPoints.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
namespace AasSecurity.Models
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

namespace AasSecurity.Models
{
internal class AccessControlPolicyPoints
{
Expand Down
15 changes: 14 additions & 1 deletion src/AasSecurity/Models/AccessPermissionRule.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
namespace AasSecurity.Models
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

namespace AasSecurity.Models
{
internal class AccessPermissionRule
{
Expand Down
15 changes: 14 additions & 1 deletion src/AasSecurity/Models/AccessRights.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
namespace AasSecurity.Models
/********************************************************************************
* Copyright (c) {2024} Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

namespace AasSecurity.Models
{
public enum AccessRights
{
Expand Down
Loading