Partager via


PublishedWebApp class

Retrieves the configuration data of a published web application.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("AppProxyPSProvider"), AMENDMENT]
class PublishedWebApp
{
  string  Name;
  string  ID;
  string  ADFSRelyingPartyName;
  string  ADFSRelyingPartyID;
  string  ADFSUserCertificateStore;
  string  ExternalPreauthentication;
  string  BackendServerAuthenticationMode;
  string  BackendServerAuthenticationSPN;
  string  ClientCertificateAuthenticationBindingMode;
  string  BackendServerCertificateValidation;
  string  ExternalUrl;
  string  ExternalCertificateThumbprint;
  string  ClientCertificatePreauthenticationThumbprint;
  string  BackendServerUrl;
  boolean DisableTranslateUrlInRequestHeaders;
  boolean DisableTranslateUrlInResponseHeaders;
  boolean UseOAuthAuthentication;
  boolean EnableHTTPRedirect;
  boolean EnableSignOut;
  boolean DisableHttpOnlyCookieProtection;
  uint32  InactiveTransactionsTimeoutSec;
  uint32  PersistentAccessCookieExpirationTimeSec;
};

Members

The PublishedWebApp class has these types of members:

Properties

The PublishedWebApp class has these properties.

ADFSRelyingPartyID

Data type: string

Access type: Read-only

Gets the ID of the relying party configured on the AD FS server.

ADFSRelyingPartyName

Data type: string

Access type: Read-only

Gets the name of the relying party configured on the AD FS server.

ADFSUserCertificateStore

Data type: string

Access type: Read-only

Gets the AD FS user certificate store.

Windows Server 2012 R2: This property is not available before Windows Server 2016.

BackendServerAuthenticationMode

Data type: string

Access type: Read-only

Gets the authentication mode for the back end server.

This property contains one of the following values.

NoAuthentication ("NoAuthentication")

Do not perform authentication.

IntegratedWindowsAuthentication ("IntegratedWindowsAuthentication")

Perform Windows authentication.

BackendServerAuthenticationSPN

Data type: string

Access type: Read-only

Gets the service principal name (SPN) of the back end server.

BackendServerCertificateValidation

Data type: string

Access type: Read-only

Gets a value that indicates whether Web application proxy validates the certificate of the back end server.

This parameter can be set to one of the following values.

None ("None")

Do not validate the certificate.

ValidateCertificate ("ValidateCertificate")

Validate the certificate.

BackendServerUrl

Data type: string

Access type: Read-only

Gets the URL of the back end server for the application.

ClientCertificateAuthenticationBindingMode

Data type: string

Access type: Read-only

Gets a value that indicates whether Web Application Proxy validates the client certificate during subsequent requests.

This parameter can be set to one of the following values.

None ("None")

Do not validate the certificate.

ValidateCertificate ("ValidateCertificate")

Validate the certificate.

ClientCertificatePreauthenticationThumbprint

Data type: string

Access type: Read-only

Gets the thumbprint of the client certificate to use for pre-authentication.

DisableHttpOnlyCookieProtection

Data type: boolean

Access type: Read-only

Gets a value that indicates whether to disable the HttpOnly flag for the access cookie. True to disable the HttpOnly flag; otherwise, false.

Windows Server 2012 R2: This property is not available before Windows Server 2016.

DisableTranslateUrlInRequestHeaders

Data type: boolean

Access type: Read-only

Gets a value that indicates whether to disable the translation of HTTP host headers from a public host header to an internal host header when the request is forwarded to a published application. True to disable the translation of HTTP host headers; otherwise, false.

DisableTranslateUrlInResponseHeaders

Data type: boolean

Access type: Read-only

Gets a value that indicates whether to disable hostname translation in HTTP redirect responses that are sent from internal hostnames to public hostnames. True to disable hostname translation in HTTP redirect responses; otherwise, false.

Hostname translation is performed on the Content-Location, Location, and Set-Cookie response headers.

EnableHTTPRedirect

Data type: boolean

Access type: Read-only

Whether the web-application proxy provides a redirect from HTTP URL to this URL.

Windows Server 2012 R2: This property is not available before Windows Server 2016.

EnableSignOut

Data type: boolean

Access type: Read-only

Whether sign-out is enabled for this application.

Windows Server 2012 R2: This property is not available before Windows Server 2016.

ExternalCertificateThumbprint

Data type: string

Access type: Read-only

Gets the thumbprint of the certificate for the ExternalUrl parameter.

ExternalPreauthentication

Data type: string

Access type: Read-only

Gets the type of pre-authentication used by Web Application Proxy to identify the application.

This property contains one of the following values.

PassThrough ("PassThrough")

Do not perform pre-authentication.

ADFS ("ADFS")

Use Active Directory Federation Services (AD FS).

ClientCertificate ("ClientCertificate")

Validate the client certificate.

ADFSforRichClients ("ADFSforRichClients")

Use Active Directory Federation Services (AD FS) for rich clients.

Windows Server 2012 R2: This value is not available before Windows Server 2016.

ADFSforOAuth ("ADFSforOAuth")

Use Active Directory Federation Services (AD FS) for OAuth.

Windows Server 2012 R2: This value is not available before Windows Server 2016.

ADFSforBrowsersAndOffice ("ADFSforBrowsersAndOffice")

Use Active Directory Federation Services (AD FS) for browsers and Microsoft Office clients.

Windows Server 2012 R2: This value is not available before Windows Server 2016.

ExternalUrl

Data type: string

Access type: Read-only

Gets the fully qualified domain name (FQDN) that is the external address of the application.

ID

Data type: string

Access type: Read-only

Gets the ID of the application.

InactiveTransactionsTimeoutSec

Data type: uint32

Access type: Read-only

Gets the interval, in seconds, after which incomplete HTTP transactions with the application are immediately ended.

Name

Data type: string

Access type: Read-only

Gets the name of the application.

PersistentAccessCookieExpirationTimeSec

Data type: uint32

Access type: Read-only

The interval, in seconds, that the web-application-proxy-access cookie is persisted.

Windows Server 2012 R2: This parameter is not available before Windows Server 2016.

UseOAuthAuthentication

Data type: boolean

Access type: Read-only

Gets a value that indicates whether to enable OAuth authentication for users that connect to this application with a Windows Store app. True to enable OAuth authentication; otherwise, false.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Microsoft\Windows\WebApplicationProxy
MOF
AppProxyPSProvider.mof
DLL
AppProxyPSProvider.dll

See also

Application Proxy WMI Provider Reference