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

io.dropwizard.auth.DefaultAuthorizationContext Maven / Gradle / Ivy

There is a newer version: 5.0.0-alpha.4
Show newest version
package io.dropwizard.auth;

import org.checkerframework.checker.nullness.qual.Nullable;

import javax.ws.rs.container.ContainerRequestContext;
import java.security.Principal;

/**
 * The default implementation of {@link AuthorizationContext},
 * which uses a {@link Principal}, a role and a {@link ContainerRequestContext} to
 * temporarily cache principals' role associations.
 *
 * @param 

the type of principals */ public class DefaultAuthorizationContext

extends AuthorizationContext

{ DefaultAuthorizationContext(P principal, String role, @Nullable ContainerRequestContext requestContext) { super(principal, role, requestContext); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy