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

io.quarkiverse.ironjacamar.runtime.security.QuarkusSecurityContext Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
package io.quarkiverse.ironjacamar.runtime.security;

import javax.security.auth.Subject;

import org.jboss.jca.core.spi.security.SecurityContext;

public class QuarkusSecurityContext implements SecurityContext {
    private Subject subject;

    @Override
    public Subject getAuthenticatedSubject() {
        return subject;
    }

    @Override
    public void setAuthenticatedSubject(Subject subject) {
        this.subject = subject;
    }

    @Override
    public String[] getRoles() {
        return new String[0];
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy