Package io.undertow.servlet.api
Class SingleConstraintMatch
- java.lang.Object
-
- io.undertow.servlet.api.SingleConstraintMatch
-
public class SingleConstraintMatch extends java.lang.ObjectRepresentation 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 Description SingleConstraintMatch(SecurityInfo.EmptyRoleSemantic emptyRoleSemantic, java.util.Set<java.lang.String> requiredRoles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityInfo.EmptyRoleSemanticgetEmptyRoleSemantic()java.util.Set<java.lang.String>getRequiredRoles()java.lang.StringtoString()
-
-
-
Constructor Detail
-
SingleConstraintMatch
public SingleConstraintMatch(SecurityInfo.EmptyRoleSemantic emptyRoleSemantic, java.util.Set<java.lang.String> requiredRoles)
-
-
Method Detail
-
getEmptyRoleSemantic
public SecurityInfo.EmptyRoleSemantic getEmptyRoleSemantic()
-
getRequiredRoles
public java.util.Set<java.lang.String> getRequiredRoles()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-