Uses of Class
io.helidon.security.util.TokenHandler
-
Packages that use TokenHandler Package Description io.helidon.microprofile.jwt.auth Implementation of Microprofile JWT Auth specification.io.helidon.security Securityio.helidon.security.integration.webserver Integration library for RxServer.io.helidon.security.providers.google.login Integration with Google login button.io.helidon.security.providers.header Provider that can extract username from a (any) header.io.helidon.security.providers.httpauth Basic security provider, supporting "basic" and "digest" authentication schemes with role support.io.helidon.security.providers.httpsign Provider supporting validation of incoming signatures and signing of outbound requests.io.helidon.security.providers.idcs.mapper Mapper that retrieves roles from IDCS server and maps them to user subject.io.helidon.security.providers.jwt Provider that can process incoming JWTs and assert users based on them and can propagate JWTs (or create new ones) for outbound calls.io.helidon.security.providers.oidc.common Open ID Connect (OIDC) classes usable from all OIDC related components.io.helidon.security.util General utilities for security modules. -
-
Uses of TokenHandler in io.helidon.microprofile.jwt.auth
Methods in io.helidon.microprofile.jwt.auth with parameters of type TokenHandler Modifier and Type Method Description JwtAuthProvider.Builder
JwtAuthProvider.Builder. atnTokenHandler(TokenHandler tokenHandler)
Token handler to extract username from request.static JwtAuthProvider.JwtOutboundTarget
JwtAuthProvider.JwtOutboundTarget. fromConfig(Config config, TokenHandler defaultHandler)
Load an instance from configuration.Constructors in io.helidon.microprofile.jwt.auth with parameters of type TokenHandler Constructor Description JwtOutboundTarget(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
Methods in io.helidon.security that return TokenHandler Modifier and Type Method Description TokenHandler
QueryParamMapping. tokenHandler()
Token handler used to create a header from the parameter.Methods in io.helidon.security with parameters of type TokenHandler Modifier and Type Method Description static 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.integration.webserver
Methods in io.helidon.security.integration.webserver with parameters of type TokenHandler Modifier and Type Method Description static SecurityHandler.QueryParamHandler
SecurityHandler.QueryParamHandler. create(String queryParamName, TokenHandler headerHandler)
Create an instance from parameter name and explicitTokenHandler
.SecurityHandler
SecurityHandler. queryParam(String queryParamName, TokenHandler headerHandler)
Add a query parameter extraction configuration. -
Uses of TokenHandler in io.helidon.security.providers.google.login
Methods in io.helidon.security.providers.google.login with parameters of type TokenHandler Modifier and Type Method Description GoogleTokenProvider.Builder
GoogleTokenProvider.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
Methods in io.helidon.security.providers.header with parameters of type TokenHandler Modifier and Type Method Description HeaderAtnProvider.Builder
HeaderAtnProvider.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
HeaderAtnProvider.Builder. outboundTokenHandler(TokenHandler tokenHandler)
Token handler to create outbound headers to propagate identity.HeaderAtnOutboundConfig.Builder
HeaderAtnOutboundConfig.Builder. tokenHandler(TokenHandler tokenHandler)
Configuration of the outbound header the identity will be propagated. -
Uses of TokenHandler in io.helidon.security.providers.httpauth
Fields in io.helidon.security.providers.httpauth declared as TokenHandler Modifier and Type Field Description static TokenHandler
HttpBasicOutboundConfig. DEFAULT_TOKEN_HANDLER
Default token handler for HTTP basic authentication - usesAuthorization
header andbasic
prefix.Methods in io.helidon.security.providers.httpauth with parameters of type TokenHandler Modifier and Type Method Description HttpBasicOutboundConfig.Builder
HttpBasicOutboundConfig.Builder. tokenHandler(TokenHandler tokenHandler)
Token handler to add the outbound basic authentication to headers. -
Uses of TokenHandler in io.helidon.security.providers.httpsign
Methods in io.helidon.security.providers.httpsign that return TokenHandler Modifier and Type Method Description TokenHandler
OutboundTargetDefinition. tokenHandler()
When header type is set toHttpSignHeader.CUSTOM
, this handler will be used to create header in outbound request.Methods in io.helidon.security.providers.httpsign with parameters of type TokenHandler Modifier and Type Method Description OutboundTargetDefinition.Builder
OutboundTargetDefinition.Builder. tokenHandler(TokenHandler tokenHandler)
Configure a token handler to create the outbound header. -
Uses of TokenHandler in io.helidon.security.providers.idcs.mapper
Methods in io.helidon.security.providers.idcs.mapper with parameters of type TokenHandler Modifier and Type Method Description B
IdcsMtRoleMapperProvider.Builder. idcsAppNameTokenHandler(TokenHandler idcsAppNameTokenHandler)
Configure token handler for IDCS Application name.B
IdcsMtRoleMapperRxProvider.Builder. idcsAppNameTokenHandler(TokenHandler idcsAppNameTokenHandler)
Configure token handler for IDCS Application name.B
IdcsMtRoleMapperProvider.Builder. idcsTenantTokenHandler(TokenHandler idcsTenantTokenHandler)
Configure token handler for IDCS Tenant ID.B
IdcsMtRoleMapperRxProvider.Builder. idcsTenantTokenHandler(TokenHandler idcsTenantTokenHandler)
Configure token handler for IDCS Tenant ID. -
Uses of TokenHandler in io.helidon.security.providers.jwt
Methods in io.helidon.security.providers.jwt with parameters of type TokenHandler Modifier and Type Method Description JwtProvider.Builder
JwtProvider.Builder. atnTokenHandler(TokenHandler tokenHandler)
Token handler to extract username from request.static JwtProvider.JwtOutboundTarget
JwtProvider.JwtOutboundTarget. create(Config config, TokenHandler defaultHandler)
Load an instance from configuration.JwtProvider.JwtOutboundTarget.Builder
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
Methods in io.helidon.security.providers.oidc.common that return TokenHandler Modifier and Type Method Description TokenHandler
OidcConfig. headerHandler()
TokenHandler
to extract header information from request.Methods in io.helidon.security.providers.oidc.common with parameters of type TokenHandler Modifier and Type Method Description OidcConfig.Builder
OidcConfig.Builder. headerTokenHandler(TokenHandler tokenHandler)
ATokenHandler
to process header containing a JWT. -
Uses of TokenHandler in io.helidon.security.util
Methods in io.helidon.security.util that return TokenHandler Modifier and Type Method Description TokenHandler
TokenHandler.Builder. build()
Build a new instance from this builder.static TokenHandler
TokenHandler. create(Config config)
Create aTokenHandler
from configuration.static TokenHandler
TokenHandler. forHeader(String header)
A shortcut method to build a token handler that does not modify the token content.
-