Package org.trellisldp.jwt
Class JwtAuthFilter
- java.lang.Object
-
- org.trellisldp.jwt.JwtAuthFilter
-
- All Implemented Interfaces:
ContainerRequestFilter
@Provider @Priority(1010) public class JwtAuthFilter extends Object implements ContainerRequestFilter
A JWT-based authentication filter.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONFIG_AUTH_ADMIN_USERS
The configuration key controlling the list of of admin WebID values.
-
Constructor Summary
Constructors Constructor Description JwtAuthFilter()
Create an auth filter that augments MicroProfile-JWT authentication with WebID support.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
filter(ContainerRequestContext ctx)
-
-
-
Field Detail
-
CONFIG_AUTH_ADMIN_USERS
public static final String CONFIG_AUTH_ADMIN_USERS
The configuration key controlling the list of of admin WebID values.- See Also:
- Constant Field Values
-
-
Method Detail
-
filter
public void filter(ContainerRequestContext ctx) throws IOException
- Specified by:
filter
in interfaceContainerRequestFilter
- Throws:
IOException
-
-