Top Description Methods
javax.security.enterprise.authentication.mechanism.http

public @Interface BasicAuthenticationMechanismDefinition

extends Annotation
Annotations
@Retention:RUNTIME
@Target:TYPE
Static Imports
java.lang.annotation.ElementType.TYPE, .RetentionPolicy.RUNTIME

Annotation used to define a container authentication mechanism that implements the HTTP basic access authentication protocol as defined by the Servlet spec (13.6.1) and make that implementation available as an enabled CDI bean.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

Name of realm
realmName
()

Name of realm that will be sent via the WWW-Authenticate header.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

realmNameback to summary
public String realmName()

Name of realm that will be sent via the WWW-Authenticate header.

Note that this realm name does not couple a named identity store configuration to the authentication mechanism.

Returns:String

Name of realm