Microsoft SDK for Java

COAUTHINFO Class

The COAUTHINFO class of the com.ms.com package specifies the authentication settings used while making a remote activation request from the client machine to the server machine.

Note   The COAUTHINFO class was added as of versions 2925 through 3167 of the Microsoft virtual machine.

public class COAUTHINFO
{
  // Members
  public int dwAuthnSvc;
  public int dwAuthzSvc;
  public String pwszServerPrincName;
  public int dwAuthnLevel;
  public int dwImpersonationLevel;
  public COAUTHIDENTITY pAuthIdentityData;
  public int dwCapabilities;
}

Members

[in] dwAuthnSvc A single DWORD value from the list of RPC_C_AUTHN_xxx constants indicating the authentication service to use. It may be RPC_C_AUTHN_NONE if no authentication is required. RPC_C_AUTHN_WINNT is the default and RPC_C_AUTHN_GSS_KERBEROS is also supported.
[in] dwAuthzSvc A single DWORD value from the list of RPC_C_AUTHZ_xxx constants indicating the authorization service to use. If you are using the Microsoft® Windows NT® authentication service, use RPC_C_AUTHZ_NONE.
pwszServerPrincName Pointer to a WCHAR string that indicates the server principal name to use with the authentication service. If you are using RPC_C_AUTHN_WINNT, the principal name must be NULL.
[in] dwAuthnLevel A single DWORD value from the list of RPC_C_AUTHN_LEVEL_xxx constants indicating the authentication level to use.
[in] dwImpersonationLevel Specifies the impersonation level to use. This value must be RPC_C_IMP_LEVEL_IMPERSONATE.
pAuthIdentityData Pointer to a COAUTHIDENTITY structure that establishes a non-default client identity. If NULL, the actual identity of the client is used. Values of structure members are authentication-service specific. This value must be NULL if dwAuthnSvc is not NTLMSSP or Kerberos.
[in] dwCapabilities A DWORD defining flags that indicate the further capabilities of this proxy.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.