chore: removed lombok and upgraded copyright
This commit is contained in:
+5
-3
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2024-2024 OnixByte.
|
||||
* Copyright (C) 2024-2025 OnixByte.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -38,7 +38,8 @@ import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||
import com.onixbyte.simplejwt.exceptions.IllegalKeyPairException;
|
||||
import com.onixbyte.simplejwt.exceptions.IllegalSecretException;
|
||||
import com.onixbyte.simplejwt.exceptions.UnsupportedAlgorithmException;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.security.interfaces.ECPrivateKey;
|
||||
@@ -98,9 +99,10 @@ import java.util.function.Function;
|
||||
* @see JWTCreator.Builder
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Slf4j
|
||||
public class AuthzeroTokenResolver implements TokenResolver<DecodedJWT> {
|
||||
|
||||
private final static Logger log = LoggerFactory.getLogger(AuthzeroTokenResolver.class);
|
||||
|
||||
/**
|
||||
* Create a builder of {@link AuthzeroTokenResolver}.
|
||||
*
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2024-2024 OnixByte.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* This package contains classes related to the integration of the {@code com.auth0:java-jwt}
|
||||
* library in the Simple JWT project. {@code com.auth0:java-jwt} is a powerful and widely-used
|
||||
* identity as a Service (IDaaS) platform that provides secure authentication and authorisation
|
||||
* solutions for web and mobile applications. The classes in this package provide the necessary
|
||||
* functionality to handle JSON Web Tokens (JWTs) using the {@code com.auth0:java-jwt} library.
|
||||
* <p>
|
||||
* The main class in this package is the {@link
|
||||
* com.onixbyte.simplejwt.authzero.AuthzeroTokenResolver}, which implements the
|
||||
* {@link com.onixbyte.simplejwt.TokenResolver} interface and uses the {@code com.auth0:java-jwt}
|
||||
* library to handle JWT operations. It provides the functionality to create, validate, and extract
|
||||
* JWTs using the {@code com.auth0:java-jwt} library. Developers can use this class as the main
|
||||
* token resolver in the Simple JWT project when integrating {@code com.auth0:java-jwt} as the
|
||||
* JWT management library.
|
||||
* <p>
|
||||
* The {@link com.onixbyte.simplejwt.authzero.AuthzeroTokenResolver} relies on the
|
||||
* {@code com.auth0:java-jwt} library to handle the underlying JWT operations, including token
|
||||
* creation, validation, and extraction. It utilizes the {@code com.auth0:java-jwt}
|
||||
* {@link com.auth0.jwt.algorithms.Algorithm} class to define and use different algorithms for
|
||||
* JWT signing and verification.
|
||||
* <p>
|
||||
* Developers using the {@code com.auth0:java-jwt} integration should be familiar with the concepts
|
||||
* and usage of the {@code com.auth0:java-jwt} library and follow the official
|
||||
* {@code com.auth0:java-jwt} documentation for best practices and security considerations.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
package com.onixbyte.simplejwt.authzero;
|
||||
Reference in New Issue
Block a user