Class TestDnsNameValueEqualFunction

  • All Implemented Interfaces:
    org.ow2.authzforce.core.pdp.api.func.Function<org.ow2.authzforce.core.pdp.api.value.BooleanValue>, org.ow2.authzforce.core.pdp.api.PdpExtension, org.ow2.authzforce.core.pdp.api.value.PrimitiveValue, org.ow2.authzforce.core.pdp.api.value.Value

    public class TestDnsNameValueEqualFunction
    extends org.ow2.authzforce.core.pdp.api.func.EqualTypeMatchFunction<TestDnsNameWithPortValue>
    Implements the dnsName-value-equal function from XACML Data Loss Prevention / Network Access Control (DLP/NAC) Profile Version 1.0. Edited by John Tolbert, Richard Hill, Crystal Hayes, David Brossard, Hal Lockhart, and Steven Legg. 16 February 2015. OASIS Committee Specification 01. http://docs.oasis-open.org/xacml/xacml-3.0-dlp-nac/v1.0/cs01/xacml-3.0-dlp-nac-v1.0-cs01.html. Latest version: http://docs.oasis-open.org/xacml/xacml-3.0-dlp-nac/v1.0/xacml-3.0-dlp-nac-v1.0.html.

    Used here for testing Authzforce function extension mechanism, i.e. plugging a custom function into the PDP engine.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.ow2.authzforce.core.pdp.api.func.EqualTypeMatchFunction

        org.ow2.authzforce.core.pdp.api.func.EqualTypeMatchFunction.CallFactory<PARAM_T extends org.ow2.authzforce.core.pdp.api.value.AttributeValue>, org.ow2.authzforce.core.pdp.api.func.EqualTypeMatchFunction.CallFactoryBuilder<PARAM_T extends org.ow2.authzforce.core.pdp.api.value.AttributeValue>, org.ow2.authzforce.core.pdp.api.func.EqualTypeMatchFunction.EqualIgnoreCaseMatcher<PARAM extends org.ow2.authzforce.core.pdp.api.value.SimpleValue<String>>, org.ow2.authzforce.core.pdp.api.func.EqualTypeMatchFunction.EqualMatcher<PARAM extends org.ow2.authzforce.core.pdp.api.value.AttributeValue>, org.ow2.authzforce.core.pdp.api.func.EqualTypeMatchFunction.Matcher<PARAM_T extends org.ow2.authzforce.core.pdp.api.value.AttributeValue>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String ID
      Function identifier
      • Fields inherited from class org.ow2.authzforce.core.pdp.api.func.SingleParameterTypedFirstOrderFunction

        functionSignature
      • Fields inherited from interface org.ow2.authzforce.core.pdp.api.func.Function

        AUTHZFORCE_EXTENSION_PREFIX, XACML_NS_1_0, XACML_NS_2_0, XACML_NS_3_0
    • Method Summary

      • Methods inherited from class org.ow2.authzforce.core.pdp.api.func.EqualTypeMatchFunction

        newCall
      • Methods inherited from class org.ow2.authzforce.core.pdp.api.func.SingleParameterTypedFirstOrderFunction

        getParameterTypes, getReturnType
      • Methods inherited from class org.ow2.authzforce.core.pdp.api.func.FirstOrderFunction

        newCall
      • Methods inherited from class org.ow2.authzforce.core.pdp.api.func.BaseFunction

        equals, getId, getIndeterminateArgException, getIndeterminateArgMessage, hashCode, toString
    • Constructor Detail

      • TestDnsNameValueEqualFunction

        public TestDnsNameValueEqualFunction()