com.sap.sl.sdk.authoring.connection
Enum DatabaseConnection.AuthenticationMode

java.lang.Object
  extended by java.lang.Enum<DatabaseConnection.AuthenticationMode>
      extended by com.sap.sl.sdk.authoring.connection.DatabaseConnection.AuthenticationMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DatabaseConnection.AuthenticationMode>
Enclosing interface:
DatabaseConnection

public static enum DatabaseConnection.AuthenticationMode
extends java.lang.Enum<DatabaseConnection.AuthenticationMode>

Provides the values used to set the parameter DatabaseConnection.AUTHENTICATION_MODE.


Enum Constant Summary
FIXED
          A specific logon (user name and password) is required to authenticate to the database.
MAPPING
          A login domain is required to authenticate to the database.
PROMPTED
          A logon by prompt is required to authenticate to the database (OLAP only).
SSO
          A single sign-on logon is required to authenticate to the database.
 
Method Summary
static DatabaseConnection.AuthenticationMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DatabaseConnection.AuthenticationMode[] 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

FIXED

public static final DatabaseConnection.AuthenticationMode FIXED
A specific logon (user name and password) is required to authenticate to the database.


MAPPING

public static final DatabaseConnection.AuthenticationMode MAPPING
A login domain is required to authenticate to the database.


SSO

public static final DatabaseConnection.AuthenticationMode SSO
A single sign-on logon is required to authenticate to the database.


PROMPTED

public static final DatabaseConnection.AuthenticationMode PROMPTED
A logon by prompt is required to authenticate to the database (OLAP only).

Method Detail

values

public static DatabaseConnection.AuthenticationMode[] 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 (DatabaseConnection.AuthenticationMode c : DatabaseConnection.AuthenticationMode.values())
    System.out.println(c);

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

valueOf

public static DatabaseConnection.AuthenticationMode valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


© Copyright 2016 SAP SE or an SAP affiliate company. All rights reserved.