OnUnauthenticatedRequest Class

public final class OnUnauthenticatedRequest
extends ExpandableStringEnum<OnUnauthenticatedRequest>

Action to take when a request is unauthenticated.

Field Summary

Modifier and Type Field and Description
static final OnUnauthenticatedRequest ALLOW

Allow the request to pass through without authentication.

static final OnUnauthenticatedRequest AUTHENTICATE

Redirect the request to the authentication provider.

static final OnUnauthenticatedRequest DENY

Deny the request when no credential is presented.

Constructor Summary

Constructor Description
OnUnauthenticatedRequest()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of OnUnauthenticatedRequest value.

Method Summary

Modifier and Type Method and Description
static OnUnauthenticatedRequest fromString(String name)

Creates or finds a OnUnauthenticatedRequest from its string representation.

static Collection<OnUnauthenticatedRequest> values()

Gets known OnUnauthenticatedRequest values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALLOW

public static final OnUnauthenticatedRequest ALLOW

Allow the request to pass through without authentication.

AUTHENTICATE

public static final OnUnauthenticatedRequest AUTHENTICATE

Redirect the request to the authentication provider. Only valid for the user authentication capability.

DENY

public static final OnUnauthenticatedRequest DENY

Deny the request when no credential is presented.

Constructor Details

OnUnauthenticatedRequest

@Deprecated
public OnUnauthenticatedRequest()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of OnUnauthenticatedRequest value.

Method Details

fromString

public static OnUnauthenticatedRequest fromString(String name)

Creates or finds a OnUnauthenticatedRequest from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding OnUnauthenticatedRequest.

values

public static Collection<OnUnauthenticatedRequest> values()

Gets known OnUnauthenticatedRequest values.

Returns:

known OnUnauthenticatedRequest values.

Applies to