org.keycloak.proxy

## Class SingleConstraintMatch

- java.lang.Object
- - org.keycloak.proxy.SingleConstraintMatch

-     public class SingleConstraintMatch
      extends Object

  Representation of a single security constrain matched for a single request. When performing any authentication/authorization check every constraint MUST be satisfied for the request to be allowed to proceed.
  Author:
    Darran Lofthouse

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SingleConstraintMatch(SecurityInfo.EmptyRoleSemantic emptyRoleSemantic, Set<String> requiredRoles)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `SecurityInfo.EmptyRoleSemantic` | `getEmptyRoleSemantic()`
    `Set<String>` | `getRequiredRoles()`

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

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

- - ### Constructor Detail

    - #### SingleConstraintMatch

          public SingleConstraintMatch(SecurityInfo.EmptyRoleSemantic emptyRoleSemantic,
                               Set<String> requiredRoles)

  - ### Method Detail

    - #### getEmptyRoleSemantic

          public SecurityInfo.EmptyRoleSemantic getEmptyRoleSemantic()

    - #### getRequiredRoles

          public Set<String> getRequiredRoles()

Copyright © 2014. All Rights Reserved.