-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce scope of Service Loader work to CompressionCodecs and JsonSeri…
…alizers Fixes: #458
- Loading branch information
Showing
49 changed files
with
486 additions
and
596 deletions.
There are no files selected for viewing
28 changes: 0 additions & 28 deletions
28
api/src/main/java/io/jsonwebtoken/CompressionCodecFactory.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
api/src/main/java/io/jsonwebtoken/lang/ImplementationNotFoundException.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
api/src/main/java/io/jsonwebtoken/lang/UnavailableImplementationException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Copyright (C) 2019 jsonwebtoken.io | ||
* | ||
* 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. | ||
*/ | ||
package io.jsonwebtoken.lang; | ||
|
||
/** | ||
* Exception indicating that no implementation of an jjwt-api SPI was found on the classpath. | ||
*/ | ||
public class UnavailableImplementationException extends RuntimeException { | ||
|
||
private static final String DEFAULT_NOT_FOUND_MESSAGE = "Unable to find an implementation for %s using java.util.ServiceLoader. Ensure you include a backing implementation .jar in the classpath, for example jjwt-impl.jar, or your own .jar for custom implementations."; | ||
|
||
public UnavailableImplementationException(final Class klass) { | ||
super(String.format(DEFAULT_NOT_FOUND_MESSAGE, klass)); | ||
} | ||
} |
19 changes: 0 additions & 19 deletions
19
api/src/main/java/io/jsonwebtoken/security/KeyGenerator.java
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
api/src/main/java/io/jsonwebtoken/security/KeyPairGenerator.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.