Uses of Class
org.apache.juneau.rest.server.auth.AuthenticationException
Packages that use AuthenticationException
Package
Description
Petstore auth helpers — stub validators and other glue used by the deployment-side
AuthFilterChain configurations.REST Server API
Authentication (AuthN) guards, servlet-layer filters, SPIs, and request-time helpers for
juneau-rest-server.JWT bearer-token validation backed by
com.nimbusds:nimbus-jose-jwt.OAuth 2.0 / OIDC integration for the Juneau REST server.
OpenID Connect Relying Party (RP) login support for Juneau REST servers.
SAML 2.0 assertion validation for the Juneau REST server, layered on the
AuthFilter framework.-
Uses of AuthenticationException in org.apache.juneau.petstore.auth
Methods in org.apache.juneau.petstore.auth that throw AuthenticationException -
Uses of AuthenticationException in org.apache.juneau.rest.server
Methods in org.apache.juneau.rest.server that throw AuthenticationExceptionModifier and TypeMethodDescriptionprotected voidRestContext.authenticate(RestOpSession session) Runs the effective authenticator chain for this request, folding results and applying the resolved principal/roles to theRestRequest. -
Uses of AuthenticationException in org.apache.juneau.rest.server.auth
Methods in org.apache.juneau.rest.server.auth that return AuthenticationExceptionModifier and TypeMethodDescriptionAuthenticationException.wwwAuthenticate(String value) Sets theWWW-Authenticateresponse header to the supplied challenge string.Methods in org.apache.juneau.rest.server.auth with parameters of type AuthenticationExceptionModifier and TypeMethodDescriptionstatic voidAuthFilter.sendChallenge(jakarta.servlet.http.HttpServletResponse resp, AuthenticationException e) Writes a 401 response with theWWW-Authenticatechallenge from the exception.Methods in org.apache.juneau.rest.server.auth that throw AuthenticationExceptionModifier and TypeMethodDescriptionApiKeyAuthFilter.authenticate(jakarta.servlet.http.HttpServletRequest req) Authenticator.authenticate(jakarta.servlet.http.HttpServletRequest req) Inspects the request and returns the authentication result.AuthFilterChain.authenticate(jakarta.servlet.http.HttpServletRequest hreq) Runs the composedAuthFilterentries for the request and folds their results, without writing any response.BearerTokenAuthFilter.authenticate(jakarta.servlet.http.HttpServletRequest req) abstract Optional<AuthResult>RestAuthenticator.authenticate(RestRequest req) Resolves identity + roles for the request.Validates the supplied bearer token and returns the associatedPrincipal. -
Uses of AuthenticationException in org.apache.juneau.rest.server.auth.jwt
Methods in org.apache.juneau.rest.server.auth.jwt that throw AuthenticationException -
Uses of AuthenticationException in org.apache.juneau.rest.server.auth.oauth
Methods in org.apache.juneau.rest.server.auth.oauth that throw AuthenticationExceptionModifier and TypeMethodDescriptionOAuthFilter.authenticate(jakarta.servlet.http.HttpServletRequest req) -
Uses of AuthenticationException in org.apache.juneau.rest.server.auth.oidc.rp
Methods in org.apache.juneau.rest.server.auth.oidc.rp that throw AuthenticationExceptionModifier and TypeMethodDescriptionOidcSessionAuthFilter.authenticate(jakarta.servlet.http.HttpServletRequest req) intOidcRelyingParty.backChannelLogout(String logoutToken) Processes an IdP-pushed OpenID Connect back-channel logout token, invalidating the matching server-side session(s).voidOidcRelyingParty.completeLogin(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) Completes the login flow: parses the callback, verifies + consumesstate, exchanges the code (PKCE), validates the ID token (signature /iss/aud/exp/nonce), creates a session, sets the session cookie, and redirects to the application.Validates an ID token and projects the verified claims onto aClaimsPrincipal. -
Uses of AuthenticationException in org.apache.juneau.rest.server.auth.saml
Methods in org.apache.juneau.rest.server.auth.saml that throw AuthenticationExceptionModifier and TypeMethodDescriptionSamlAuthFilter.authenticate(jakarta.servlet.http.HttpServletRequest req) Validates the supplied SAML 2.0<samlp:Response>XML and returns the resolved principal.Validates the supplied SAML 2.0<samlp:Response>XML, enforcing bearer<SubjectConfirmation>against the givenrecipientfor this call.