All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.smallrye.jwt.auth.principal.AwsAlbKeyResolverLogging_$logger Maven / Gradle / Ivy

The newest version!
package io.smallrye.jwt.auth.principal;

import java.util.Locale;
import java.io.Serializable;
import org.jboss.logging.DelegatingBasicLogger;
import org.jboss.logging.BasicLogger;
import java.lang.String;
import org.jboss.logging.Logger;


import static org.jboss.logging.Logger.Level.DEBUG;

/**
 * Warning this class consists of generated code.
 */
public class AwsAlbKeyResolverLogging_$logger extends DelegatingBasicLogger implements AwsAlbKeyResolverLogging, BasicLogger, Serializable {
    private static final long serialVersionUID = 1L;
    private static final String FQCN = AwsAlbKeyResolverLogging_$logger.class.getName();
    public AwsAlbKeyResolverLogging_$logger(final Logger log) {
        super(log);
    }
    private static final Locale LOCALE = Locale.ROOT;
    protected Locale getLoggingLocale() {
        return LOCALE;
    }
    @Override
    public final void publicKeyPath(final String path) {
        super.log.logf(FQCN, DEBUG, null, publicKeyPath$str(), path);
    }
    protected String publicKeyPath$str() {
        return "SRJWT14000: public key path: %s";
    }
    @Override
    public final void publicKeyAlgorithmNotSet() {
        super.log.logf(FQCN, DEBUG, null, publicKeyAlgorithmNotSet$str());
    }
    protected String publicKeyAlgorithmNotSet$str() {
        return "SRJWT14001: mp.jwt.verify.publickey.algorithm is not set.Falling back to default algorithm: RS256 which is not compabible with AWS ALB.Please set mp.jwt.verify.publickey.algorithm to ES256";
    }
    @Override
    public final void publicKeyAlgorithmNotSetToES256() {
        super.log.logf(FQCN, DEBUG, null, publicKeyAlgorithmNotSetToES256$str());
    }
    protected String publicKeyAlgorithmNotSetToES256$str() {
        return "SRJWT14002: mp.jwt.verify.publickey.algorithm is not set to ES256";
    }
    @Override
    public final void invalidAWSTokenHeader() {
        super.log.logf(FQCN, DEBUG, null, invalidAWSTokenHeader$str());
    }
    protected String invalidAWSTokenHeader$str() {
        return "SRJWT14003: mp.jwt.token.header is not set to X-Amzn-Oidc-Data";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy