org.wildfly.swarm.undertow.descriptors

## Class SecurityConstraint

- java.lang.Object
- - org.wildfly.swarm.undertow.descriptors.SecurityConstraint

-     public class SecurityConstraint
      extends Object

  Author:
    Bob McWhirter

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SecurityConstraint()`
    `SecurityConstraint(String urlPattern)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SecurityConstraint

          public SecurityConstraint()

    - #### SecurityConstraint

          public SecurityConstraint(String urlPattern)

  - ### Method Detail

    - #### urlPattern

          public String urlPattern()

    - #### withMethod

          public SecurityConstraint withMethod(String method)

    - #### withMethod

          public SecurityConstraint withMethod(String... methods)

    - #### methods

          public List<String> methods()

    - #### withRole

          public SecurityConstraint withRole(String role)

    - #### withRole

          public SecurityConstraint withRole(String... roles)

    - #### permitAll

          public SecurityConstraint permitAll()

    - #### isPermitAll

          public boolean isPermitAll()

    - #### roles

          public List<String> roles()

Copyright © 2017 JBoss by Red Hat. All rights reserved.