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

org.tkit.quarkus.rs.context.principal.DefaultPrincipalNameCustomResolver Maven / Gradle / Ivy

There is a newer version: 2.36.0
Show newest version
package org.tkit.quarkus.rs.context.principal;

import jakarta.enterprise.context.ApplicationScoped;
import jakarta.ws.rs.container.ContainerRequestContext;

import org.eclipse.microprofile.jwt.JsonWebToken;

import io.quarkus.arc.DefaultBean;
import io.quarkus.arc.Unremovable;

@Unremovable
@DefaultBean
@ApplicationScoped
public class DefaultPrincipalNameCustomResolver implements PrincipalNameCustomResolver {
    @Override
    public String getPrincipalName(JsonWebToken principalToken, ContainerRequestContext containerRequestContext) {
        return null;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy