public class SecurityConstraint extends Object
Constructor and Description |
---|
SecurityConstraint() |
SecurityConstraint(String urlPattern) |
Modifier and Type | Method and Description |
---|---|
boolean |
isPermitAll() |
List<String> |
methods() |
SecurityConstraint |
permitAll() |
List<String> |
roles() |
String |
urlPattern() |
SecurityConstraint |
withMethod(String... methods) |
SecurityConstraint |
withMethod(String method) |
SecurityConstraint |
withRole(String... roles) |
SecurityConstraint |
withRole(String role) |
public SecurityConstraint()
public SecurityConstraint(String urlPattern)
public String urlPattern()
public SecurityConstraint withMethod(String method)
public SecurityConstraint withMethod(String... methods)
public SecurityConstraint withRole(String role)
public SecurityConstraint withRole(String... roles)
public SecurityConstraint permitAll()
public boolean isPermitAll()
Copyright © 2020 JBoss by Red Hat. All rights reserved.