nbi.xmlsec.xacml.profile.rbac.parser
Class PermissionMatchParser

java.lang.Object
  extended bynbi.xmlsec.xacml.parser.TargetMatchParser
      extended bynbi.xmlsec.xacml.profile.rbac.parser.PermissionMatchParser

public class PermissionMatchParser
extends TargetMatchParser

This class serves to parse specialised TargetMatches for Permissions from match function identifiers into target scheme descriptions(datatype-matchfunc[value]). The following functions are supported:

  • string-equal
  • anyuri-equal
  • x500Name-equal
  • string-match
  • x500Name-match
  • Since:
    Version:
    $Revision: 1.2 $
    Author:
    Lutz Suhrbier

    Field Summary
     
    Fields inherited from class nbi.xmlsec.xacml.parser.TargetMatchParser
     
    Constructor Summary
    PermissionMatchParser()
               
     
    Method Summary
     String getDataTypeFunc(URI typeId)
              Retrieves target scheme descriptions(datatype-matchfunc[value]) from function type URI's.
     Object parseMatchValue()
               
     
    Methods inherited from class nbi.xmlsec.xacml.parser.TargetMatchParser
    getMatchEvaluatable, getMatchFunction, getMatchValue, getType, setTargetMatch
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Constructor Detail

    PermissionMatchParser

    public PermissionMatchParser()
    Method Detail

    getDataTypeFunc

    public String getDataTypeFunc(URI typeId)
    Retrieves target scheme descriptions(datatype-matchfunc[value]) from function type URI's. The following functions are supported:
  • string-equal
  • anyuri-equal
  • x500Name-equal
  • string-match
  • x500Name-match
  • Parameters:
    typeId - The URI of the function to retrieve.
    Returns:
    The corresponding target scheme description or null.

    parseMatchValue

    public Object parseMatchValue()
                           throws ParsingException
    Specified by:
    parseMatchValue in class TargetMatchParser
    Throws:
    ParsingException


    Copyright © 2006 Lutz Suhrbier, Freie Universität Berlin. All Rights Reserved.