public enum SessionLoginBehavior extends Enum<SessionLoginBehavior>
openForRead
,
openForPublish
,
requestNewReadPermissions
, or
requestNewPublishPermissions
.Enum Constant and Description |
---|
SSO_ONLY
Specifies that Session should only attempt SSO.
|
SSO_WITH_FALLBACK
Specifies that Session should attempt Single Sign On (SSO), and if that
does not work fall back to dialog auth.
|
SUPPRESS_SSO
Specifies that SSO should not be attempted, and to only use dialog auth.
|
Modifier and Type | Method and Description |
---|---|
static SessionLoginBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionLoginBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionLoginBehavior SSO_WITH_FALLBACK
public static final SessionLoginBehavior SSO_ONLY
public static final SessionLoginBehavior SUPPRESS_SSO
public static SessionLoginBehavior[] values()
for (SessionLoginBehavior c : SessionLoginBehavior.values()) System.out.println(c);
public static SessionLoginBehavior valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is null