Registry / auth / jakarta-security-enterprise-api

jakarta-security-enterprise-api

JSON →
library4.0.0javamavenunverified

Jakarta Security API for securing Jakarta EE applications with authentication and authorization.

<dependency> <groupId>jakarta.security.enterprise</groupId> <artifactId>jakarta.security.enterprise-api</artifactId> <version>4.0.0</version> </dependency>
INSTALL
IMPORT
SIG · JAKARTA-SECURITY-E
J
jakarta-security-enterprise-api
authjavav4.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HttpAuthenticationMechanism
jakarta.security.enterprise.authentication.mechanism.http.HttpAuthenticationMechanism

Implement a custom HTTP authentication mechanism.

import jakarta.security.enterprise.authentication.mechanism.http.HttpAuthenticationMechanism; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; public class CustomAuth implements HttpAuthenticationMechanism { public AuthenticationStatus validateRequest(HttpServletRequest req, HttpServletResponse res, HttpMessageContext ctx) { return ctx.notifyContainerAboutLogin("user", "role"); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
14
Resources
jakarta-security-enterprise-api — mvn dependency:get jakarta-security-enterprise-api · libregistry