public static enum Constants.SecurityMechanism extends java.lang.Enum<Constants.SecurityMechanism>
Security mechanism options are:
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 and Description |
|---|
CLEAR_TEXT_PASSWORD_SECURITY
SECMEC_USRIDPWD = 3
|
ENCRYPTED_USER_AND_PASSWORD_SECURITY
SECMEC_EUSRIDPWD = 9
|
STRONG_PASSWORD_SUBSTITUTE_SECURITY
SECMEC_USRSSBPWD = 8
|
USER_ONLY_SECURITY
SECMEC_USRIDONL = 4
|
| Modifier and Type | Method and Description |
|---|---|
static Constants.SecurityMechanism |
valueOf(java.lang.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.
|
public static final Constants.SecurityMechanism USER_ONLY_SECURITY
Only user id is required.
public static final Constants.SecurityMechanism CLEAR_TEXT_PASSWORD_SECURITY
Both user id and password are required. password is in clear text.
public static final Constants.SecurityMechanism ENCRYPTED_USER_AND_PASSWORD_SECURITY
both password and user are encrypted
public static final Constants.SecurityMechanism STRONG_PASSWORD_SUBSTITUTE_SECURITY
Password substitute is to be used.
public static Constants.SecurityMechanism[] values()
for (Constants.SecurityMechanism c : Constants.SecurityMechanism.values()) System.out.println(c);
public static Constants.SecurityMechanism valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.