@Priority(value=2000) public class RoleBasedSecurityFilter extends Object implements javax.ws.rs.container.ContainerRequestFilter
Modifier and Type | Field and Description |
---|---|
protected boolean |
denyAll |
protected boolean |
permitAll |
protected String[] |
rolesAllowed |
Constructor and Description |
---|
RoleBasedSecurityFilter(String[] rolesAllowed,
boolean denyAll,
boolean permitAll) |
Modifier and Type | Method and Description |
---|---|
void |
filter(javax.ws.rs.container.ContainerRequestContext requestContext) |
protected String[] rolesAllowed
protected boolean denyAll
protected boolean permitAll
public RoleBasedSecurityFilter(String[] rolesAllowed, boolean denyAll, boolean permitAll)
public void filter(javax.ws.rs.container.ContainerRequestContext requestContext) throws IOException
filter
in interface javax.ws.rs.container.ContainerRequestFilter
IOException
Copyright © 2019 JBoss by Red Hat. All rights reserved.