Top Description Inners Methods
jakarta.security.enterprise.authentication.mechanism.http

public @Interface CustomFormAuthenticationMechanismDefinition

extends Annotation
Annotations
@Retention:RUNTIME
@Target:TYPE
@Repeatable:List
Static Imports
java.lang.annotation.ElementType.FIELD, .ElementType.METHOD, .ElementType.PARAMETER, .ElementType.TYPE, .RetentionPolicy.RUNTIME

Annotation used to define a container authentication mechanism that implements authentication resembling Servlet FORM authentication (Servlet spec 13.6.3).

Instead of posting back to a predefined action to continue the authentication dialog (Servlet spec 13.6.3 step 3), this variant depends on the application calling SecurityContext#authenticate(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse, jakarta.security.enterprise.authentication.mechanism.http.AuthenticationParameters)

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static @interface
public static @interface
CustomFormAuthenticationMechanismDefinition.List

Enables multiple CustomFormAuthenticationMechanismDefinition annotations on the same type.

Method Summary

Modifier and TypeMethod and Description
public LoginToContinue
public Class<?>[]

Returns:

list of qualifiers.
qualifiers
()

List of qualifier annotations.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

loginToContinueback to summary
public LoginToContinue loginToContinue()
Annotations
@Nonbinding
qualifiersback to summary
public Class<?>[] qualifiers()

List of qualifier annotations.

An HttpAuthenticationMechanism injection point with these qualifier annotations injects a bean that is produced by this CustomFormAuthenticationMechanismDefinition.

The default value is CustomFormAuthenticationMechanism, indicating that this CustomFormAuthenticationMechanismDefinition produces bean instances of type HttpAuthenticationMechanism qualified by CustomFormAuthenticationMechanism.

Returns:Class<?>[]

list of qualifiers.

Since
4.0
jakarta.security.enterprise.authentication.mechanism.http back to summary

public @Interface CustomFormAuthenticationMechanismDefinition.CustomFormAuthenticationMechanism

extends Annotation
Known Direct Implementers
jakarta.security.enterprise.authentication.mechanism.http.CustomFormAuthenticationMechanismDefinition.CustomFormAuthenticationMechanism.Literal
Annotations
@Qualifier
@Retention:RUNTIME
@Target:FIELD, METHOD, TYPE, PARAMETER

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString
jakarta.security.enterprise.authentication.mechanism.http back to summary

public final Class CustomFormAuthenticationMechanismDefinition.CustomFormAuthenticationMechanism.Literal

extends AnnotationLiteral<CustomFormAuthenticationMechanismDefinition.CustomFormAuthenticationMechanism>
implements CustomFormAuthenticationMechanism
Class Inheritance
All Implemented Interfaces
jakarta.security.enterprise.authentication.mechanism.http.CustomFormAuthenticationMechanismDefinition.CustomFormAuthenticationMechanism, java.lang.annotation.Annotation

Supports inline instantiation of the CustomFormAuthenticationMechanism qualifier.
Since
4.0

Field Summary

Modifier and TypeField and Description
public static final CustomFormAuthenticationMechanismDefinition.CustomFormAuthenticationMechanism.Literal
INSTANCE

Instance of the CustomFormAuthenticationMechanism qualifier.

private static final long

Constructor Summary

AccessConstructor and Description
public

Field Detail

INSTANCEback to summary
public static final CustomFormAuthenticationMechanismDefinition.CustomFormAuthenticationMechanism.Literal INSTANCE

Instance of the CustomFormAuthenticationMechanism qualifier.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides jakarta.enterprise.util.AnnotationLiteral.serialVersionUID.

Constructor Detail

Literalback to summary
public Literal()
jakarta.security.enterprise.authentication.mechanism.http back to summary

public @Interface CustomFormAuthenticationMechanismDefinition.List

extends Annotation
Annotations
@Retention:RUNTIME
@Target:TYPE

Enables multiple CustomFormAuthenticationMechanismDefinition annotations on the same type.

Method Summary

Modifier and TypeMethod and Description
public CustomFormAuthenticationMechanismDefinition[]
Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public CustomFormAuthenticationMechanismDefinition[] value()