Skip to content

Commit

Permalink
Read CREDENTIALS
Browse files Browse the repository at this point in the history
  • Loading branch information
aorzelskiGH committed Jun 6, 2024
1 parent fbd14ab commit f9ec8b4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/AasxServerBlazor/CREDENTIALS-ANONYMOUS.DAT
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Store client credentials of AASX Server
#
# Use comment lines starting with # as needed
# Comma separated columns are:
# URL-Prefix, AuthType, Para1, Para2, .. ParaN
# URL-Prefix = For each client HTTP operation the URL prefix will be compared and the corresponding authentication will be made
# AuthType = email | userpw | x509 | secret | replace
# Para1 to ParaN: Parameters as needed for AuthType
# Parameters for email: para1 = email (passed by query parameter ?Email=)
# Parameters for basicauth: para1 = username, para2 = Password (passed by HTTP header)
# Parameters for x509: Para1 = Certfile, Para2 = Password (if needed)(uses OpenId server admin-shell-io.com/50001)
# Parameters for secret: Para1 = secret (passed by query parameter ?s=)
# Parameters for querypara: Para1 = name query parameter, Para2 = value
# Parameters for replace: Para1 = replaceString in URL
#

# Additional parameter key for Phoenix
http://aasxs-repository:50002/,replace,http://localhost:50002/
1 change: 1 addition & 0 deletions src/AasxServerStandardBib/Credentials.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public static void initByFile(List<AasxCredentialsEntry> cList, string fileName)
line = sr.ReadLine();
}
}
Console.WriteLine("CREDENTIALS " + fileName + ":" + cList.Count + " entries read");
}
catch (IOException e)
{
Expand Down

0 comments on commit f9ec8b4

Please sign in to comment.