SQLFire 1.0.3

com.vmware.sqlfire
Enum Constants.SecurityMechanism

java.lang.Object
  extended by java.lang.Enum<Constants.SecurityMechanism>
      extended by com.vmware.sqlfire.Constants.SecurityMechanism
All Implemented Interfaces:
Serializable, Comparable<Constants.SecurityMechanism>
Enclosing interface:
Constants

public static enum Constants.SecurityMechanism
extends Enum<Constants.SecurityMechanism>

The security mechanism to use when starting network server to impose policy for client connections.

Security mechanism options are:

The default security mechanism is USER_ONLY SECURITY

If the application specifies a security mechanism then it will be the only one attempted. If the specified security mechanism is not supported by the conversation then an exception will be thrown and there will be no additional retries.

Both user and password need to be set for all security mechanism except USER_ONLY_SECURITY


Enum Constant Summary
CLEAR_TEXT_PASSWORD_SECURITY
          SECMEC_USRIDPWD = 3

Both user id and password are required. password is in clear text.

ENCRYPTED_USER_AND_PASSWORD_SECURITY
          SECMEC_EUSRIDPWD = 9

both password and user are encrypted

STRONG_PASSWORD_SUBSTITUTE_SECURITY
          SECMEC_USRSSBPWD = 8

Password substitute is to be used.

USER_ONLY_SECURITY
          SECMEC_USRIDONL = 4

Only user id is required.

 
Method Summary
static Constants.SecurityMechanism valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Constants.SecurityMechanism[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

USER_ONLY_SECURITY

public static final Constants.SecurityMechanism USER_ONLY_SECURITY
SECMEC_USRIDONL = 4

Only user id is required.


CLEAR_TEXT_PASSWORD_SECURITY

public static final Constants.SecurityMechanism CLEAR_TEXT_PASSWORD_SECURITY
SECMEC_USRIDPWD = 3

Both user id and password are required. password is in clear text.


ENCRYPTED_USER_AND_PASSWORD_SECURITY

public static final Constants.SecurityMechanism ENCRYPTED_USER_AND_PASSWORD_SECURITY
SECMEC_EUSRIDPWD = 9

both password and user are encrypted


STRONG_PASSWORD_SUBSTITUTE_SECURITY

public static final Constants.SecurityMechanism STRONG_PASSWORD_SUBSTITUTE_SECURITY
SECMEC_USRSSBPWD = 8

Password substitute is to be used.

Method Detail

values

public static Constants.SecurityMechanism[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Constants.SecurityMechanism c : Constants.SecurityMechanism.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Constants.SecurityMechanism valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

SQLFire 1.0.3

Copyright © 2010-2012 VMware, Inc. All rights reserved.