Uses of Class
io.helidon.security.util.TokenHandler
Package
Description
Implementation of Microprofile JWT Auth specification.
Security
Integration with Google login button.
Provider that can extract username from a (any) header.
Basic security provider, supporting "basic" and "digest" authentication schemes with role support.
Provider supporting validation of incoming signatures and signing of outbound requests.
Mapper that retrieves roles from IDCS server and maps them to user subject.
Provider that can process incoming JWTs and assert users based on them and can propagate JWTs (or create
new ones) for outbound calls.
Open ID Connect (OIDC) classes usable from all OIDC related components.
General utilities for security modules.
Helidon WebServer Security Support.
-
Uses of TokenHandler in io.helidon.microprofile.jwt.auth
Modifier and TypeMethodDescriptionJwtAuthProvider.Builder.atnTokenHandler
(TokenHandler tokenHandler) Token handler to extract username from request.JwtAuthProvider.JwtOutboundTarget.fromConfig
(Config config, TokenHandler defaultHandler) Load an instance from configuration.ModifierConstructorDescriptionJwtOutboundTarget
(TokenHandler outboundHandler, String jwtKid, String jwkKid, String audience, int notBeforeSeconds, long validitySeconds) Create an instance to add toOutboundTarget
. -
Uses of TokenHandler in io.helidon.security
Modifier and TypeMethodDescriptionQueryParamMapping.tokenHandler()
Token handler used to create a header from the parameter.Modifier and TypeMethodDescriptionstatic QueryParamMapping
QueryParamMapping.create
(String queryParamName, TokenHandler tokenHandler) Create a new mapping for a query parameter andTokenHandler
to extract the parameter and store it as a new header with possible transformation. -
Uses of TokenHandler in io.helidon.security.providers.google.login
Modifier and TypeMethodDescriptionGoogleTokenProvider.Builder.tokenProvider
(TokenHandler provider) Token provider to extract Google access token from request, defaults to "Authorization" header with a "bearer " prefix. -
Uses of TokenHandler in io.helidon.security.providers.header
Modifier and TypeMethodDescriptionHeaderAtnProvider.Builder.atnTokenHandler
(TokenHandler tokenHandler) Token handler to extract username from request.static HeaderAtnOutboundConfig
HeaderAtnOutboundConfig.create
(TokenHandler tokenHandler, String user) Create header outbound configuration from a token handler and username.HeaderAtnProvider.Builder.outboundTokenHandler
(TokenHandler tokenHandler) Token handler to create outbound headers to propagate identity.HeaderAtnOutboundConfig.Builder.tokenHandler
(TokenHandler tokenHandler) Configuration of the outbound header the identity will be propagated. -
Uses of TokenHandler in io.helidon.security.providers.httpauth
Modifier and TypeFieldDescriptionstatic final TokenHandler
HttpBasicOutboundConfig.DEFAULT_TOKEN_HANDLER
Default token handler for HTTP basic authentication - usesAuthorization
header andbasic
prefix.Modifier and TypeMethodDescriptionHttpBasicOutboundConfig.Builder.tokenHandler
(TokenHandler tokenHandler) Token handler to add the outbound basic authentication to headers. -
Uses of TokenHandler in io.helidon.security.providers.httpsign
Modifier and TypeMethodDescriptionOutboundTargetDefinition.tokenHandler()
When header type is set toHttpSignHeader.CUSTOM
, this handler will be used to create header in outbound request.Modifier and TypeMethodDescriptionOutboundTargetDefinition.Builder.tokenHandler
(TokenHandler tokenHandler) Configure a token handler to create the outbound header. -
Uses of TokenHandler in io.helidon.security.providers.idcs.mapper
Modifier and TypeMethodDescriptionIdcsMtRoleMapperProvider.Builder.idcsAppNameTokenHandler
(TokenHandler idcsAppNameTokenHandler) Configure token handler for IDCS Application name.IdcsMtRoleMapperProvider.Builder.idcsTenantTokenHandler
(TokenHandler idcsTenantTokenHandler) Configure token handler for IDCS Tenant ID. -
Uses of TokenHandler in io.helidon.security.providers.jwt
Modifier and TypeMethodDescriptionJwtProvider.Builder.atnTokenHandler
(TokenHandler tokenHandler) Token handler to extract username from request.JwtProvider.JwtOutboundTarget.create
(Config config, TokenHandler defaultHandler) Load an instance from configuration.JwtProvider.JwtOutboundTarget.Builder.tokenHandler
(TokenHandler outboundHandler) Outbound token hanlder to insert the token into outbound request headers. -
Uses of TokenHandler in io.helidon.security.providers.oidc.common
Modifier and TypeMethodDescriptionOidcConfig.headerHandler()
TokenHandler
to extract header information from request.Modifier and TypeMethodDescriptionOidcConfig.Builder.headerTokenHandler
(TokenHandler tokenHandler) ATokenHandler
to process header containing a JWT. -
Uses of TokenHandler in io.helidon.security.util
Modifier and TypeMethodDescriptionTokenHandler.Builder.build()
Build a new instance from this builder.static TokenHandler
Create aTokenHandler
from configuration.static TokenHandler
A shortcut method to build a token handler that does not modify the token content. -
Uses of TokenHandler in io.helidon.webserver.security
Modifier and TypeMethodDescriptionSecurityHandler.QueryParamHandler.create
(String queryParamName, TokenHandler headerHandler) Create an instance from parameter name and explicitTokenHandler
.SecurityHandler.queryParam
(String queryParamName, TokenHandler headerHandler) Add a query parameter extraction configuration.