Package io.dropwizard.auth
Class AuthorizationContext<P extends Principal>
- java.lang.Object
-
- io.dropwizard.auth.AuthorizationContext<P>
-
- Direct Known Subclasses:
DefaultAuthorizationContext
public abstract class AuthorizationContext<P extends Principal> extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AuthorizationContext(P principal, String role, @Nullable javax.ws.rs.container.ContainerRequestContext requestContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
protected P
getPrincipal()
protected @Nullable javax.ws.rs.container.ContainerRequestContext
getRequestContext()
protected String
getRole()
int
hashCode()
-