Skip to content
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
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