cn.chenlichao.wmi4j.consts
枚举 WbemAuthenticationLevelEnum

java.lang.Object
  继承者 java.lang.Enum<WbemAuthenticationLevelEnum>
      继承者 cn.chenlichao.wmi4j.consts.WbemAuthenticationLevelEnum
所有已实现的接口:
Serializable, Comparable<WbemAuthenticationLevelEnum>

public enum WbemAuthenticationLevelEnum
extends Enum<WbemAuthenticationLevelEnum>

Define the security authentication levels. These constants are used with SWbemSecurity and in moniker connections to WMI. Created by chenlichao on 14-7-28.


枚举常量摘要
Call
          3(0x3): Authenticates only at the beginning of each call when the server receives the request.
Connect
          2(0x2): Authenticates the credentials of the client only when the client establishes a relationship with the server.
Default
          0(0x0): WMI uses the default Windows Authentication setting.
None
          1(0x1): Uses no authentication.
Pkt
          4(0x4): Authenticates that all data received is from the expected client.
PktIntegrity
          5(0x5): Authenticates and verifies that none of the data transferred between client and server has been modified.
PktPrivacy
          6(0x6): Authenticates all previous impersonation levels and encrypts the argument value of each remote procedure call.
 
方法摘要
 int getValue()
           
static WbemAuthenticationLevelEnum parse(int value)
           
static WbemAuthenticationLevelEnum valueOf(String name)
          返回带有指定名称的该类型的枚举常量。
static WbemAuthenticationLevelEnum[] values()
          按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。
 
从类 java.lang.Enum 继承的方法
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
从类 java.lang.Object 继承的方法
getClass, notify, notifyAll, wait, wait, wait
 

枚举常量详细信息

Default

public static final WbemAuthenticationLevelEnum Default
0(0x0): WMI uses the default Windows Authentication setting.


None

public static final WbemAuthenticationLevelEnum None
1(0x1): Uses no authentication.


Connect

public static final WbemAuthenticationLevelEnum Connect
2(0x2): Authenticates the credentials of the client only when the client establishes a relationship with the server.


Call

public static final WbemAuthenticationLevelEnum Call
3(0x3): Authenticates only at the beginning of each call when the server receives the request.


Pkt

public static final WbemAuthenticationLevelEnum Pkt
4(0x4): Authenticates that all data received is from the expected client.


PktIntegrity

public static final WbemAuthenticationLevelEnum PktIntegrity
5(0x5): Authenticates and verifies that none of the data transferred between client and server has been modified.


PktPrivacy

public static final WbemAuthenticationLevelEnum PktPrivacy
6(0x6): Authenticates all previous impersonation levels and encrypts the argument value of each remote procedure call.

方法详细信息

values

public static WbemAuthenticationLevelEnum[] values()
按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。该方法可用于迭代 常量,如下所示:
for (WbemAuthenticationLevelEnum c : WbemAuthenticationLevelEnum.values())
    System.out.println(c);


valueOf

public static WbemAuthenticationLevelEnum valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格。)

参数:
name - 要返回的枚举常量的名称。
返回:
返回带有指定名称的枚举常量
抛出:
如果该枚举类型没有带有指定名称的常量, - 则抛出 IllegalArgumentException

getValue

public int getValue()

parse

public static WbemAuthenticationLevelEnum parse(int value)


Copyright © 2014. All rights reserved.