
be.looorent.security.jwt.TokenException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-security-jwt Show documentation
Show all versions of spring-security-jwt Show documentation
Create stateless security on your Spring endpoints using JWT.
package be.looorent.security.jwt;
import org.springframework.security.core.AuthenticationException;
/**
* Custom implementation of the Exceptions throwed when an Authentication fails.
* @author Lorent Lempereur - [email protected]
*/
class TokenException extends AuthenticationException {
private static final long serialVersionUID = 1L;
TokenException(String message) {
super(message);
}
TokenException(JwtExceptionType type) {
super(type.getCode());
}
TokenException(String message, Throwable t) {
super(message, t);
}
TokenException(Exception e) {
super(e.getMessage(), e);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy