Skip to content

Commit

Permalink
WebApplication: Ensure class names match for WebApplicationAuthentica…
Browse files Browse the repository at this point in the history
…tionInformation (#617)

- WebApplication
  - Ensure CIM class names match for `WebApplicationAuthenticationInformation`.
    Prior to this change there as a mismatch between the class name for
    WebApplicationAuthenticationInformation in the schema and implementation.
    The schema referenced the class as DSC_WebApplicationAuthenticationInformation
    whereas the implementation referenced the class as MSFT_xWebApplicationAuthenticationInformation.
  • Loading branch information
chelnak authored Nov 12, 2022
1 parent 2a66bb3 commit 4be5947
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ For older change log history see the [historic changelog](HISTORIC_CHANGELOG.md)

## [Unreleased]

### Fixed

- WebApplication
- Ensure CIM class names match for `WebApplicationAuthenticationInformation`.
Prior to this change there as a mismatch between the class name for
WebApplicationAuthenticationInformation in the schema and implementation.
The schema referenced the class as DSC_WebApplicationAuthenticationInformation
whereas the implementation referenced the class as MSFT_xWebApplicationAuthenticationInformation.

## [4.0.0] - 2022-09-17

### Changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ function Get-AuthenticationInfo
}

return New-CimInstance `
-ClassName MSFT_xWebApplicationAuthenticationInformation `
-ClassName DSC_WebApplicationAuthenticationInformation `
-ClientOnly -Property $authenticationProperties `
-NameSpace 'root\microsoft\windows\desiredstateconfiguration'

Expand All @@ -587,7 +587,7 @@ function Get-AuthenticationInfo
#>
function Get-DefaultAuthenticationInfo
{
New-CimInstance -ClassName MSFT_xWebApplicationAuthenticationInformation `
New-CimInstance -ClassName DSC_WebApplicationAuthenticationInformation `
-ClientOnly `
-Property @{
Anonymous = $false
Expand Down

0 comments on commit 4be5947

Please sign in to comment.