Class JwtUtils
java.lang.Object
io.confluent.security.util.JwtUtils
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjose error codes, can be logged on server side and help lookup proper messagesstatic JwtUtils.ErrorerrorDetails(Throwable t, SecurityContext context) returns the error encapsulated in Error class for fine grain control.static Stringsafe and comprehensive error message to log on server and throw to client.
-
Field Details
-
CLAIM_USER_ID
- See Also:
-
CLAIM_USER_RESOURCE_ID
- See Also:
-
OAUTH_PROVIDER_ID
- See Also:
-
OAUTH_POOL_ID
- See Also:
-
OAUTH_JWKS_ENDPOINT
- See Also:
-
OAUTH_ORG_ID
- See Also:
-
OAUTH_UNION_OF_POOLS_FLOW
- See Also:
-
-
Constructor Details
-
JwtUtils
public JwtUtils()
-
-
Method Details
-
errorCodes
-
errorMessage
safe and comprehensive error message to log on server and throw to client. InvalidJwtException - Headers: [{"alg":"RS256"}], Additional Details: \ [[Some error - the error happened due to some problem], [Other error - another error, another problem], ...] \ -> Optional[CauseException]- Parameters:
t- - Possible InvalidJwtException class- Returns:
- String describing the error
-
errorDetails
returns the error encapsulated in Error class for fine grain control.- Parameters:
t- - Possible InvalidJwtException class- Returns:
- String describing the error
-