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

io.smallrye.jwt.auth.AuthLogging Maven / Gradle / Ivy

There is a newer version: 4.6.0
Show newest version
package io.smallrye.jwt.auth;

import org.jboss.logging.BasicLogger;
import org.jboss.logging.Logger;
import org.jboss.logging.annotations.LogMessage;
import org.jboss.logging.annotations.Message;
import org.jboss.logging.annotations.MessageLogger;

@MessageLogger(projectCode = "SRJWT", length = 5)
interface AuthLogging extends BasicLogger {
    AuthLogging log = Logger.getMessageLogger(AuthLogging.class, AuthLogging.class.getPackage().getName());

    @LogMessage(level = Logger.Level.DEBUG)
    @Message(id = 6000, value = "tokenHeaderName = %s")
    void tokenHeaderName(String headerName);

    @LogMessage(level = Logger.Level.DEBUG)
    @Message(id = 6001, value = "Header %s was null")
    void headerIsNull(String headerName);

    @LogMessage(level = Logger.Level.DEBUG)
    @Message(id = 6002, value = "tokenCookieName = %s")
    void tokenCookieName(String cookieName);

    @LogMessage(level = Logger.Level.DEBUG)
    @Message(id = 6003, value = "Cookie %s was null")
    void cookieIsNull(String cookieName);

    @LogMessage(level = Logger.Level.DEBUG)
    @Message(id = 6004, value = "Authorization header does not contain a Bearer prefix")
    void authHeaderDoesNotContainBearerPrefix();

    @LogMessage(level = Logger.Level.DEBUG)
    @Message(id = 6005, value = "Authorization header was null")
    void authHeaderIsNull();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy