nbi.xmlsec.xacml.profile.rbac.builder
Class PermissionTargetMatchBuilderFactory

java.lang.Object
  extended bynbi.xmlsec.xacml.builder.TargetMatchBuilderFactory
      extended bynbi.xmlsec.xacml.profile.rbac.builder.PermissionTargetMatchBuilderFactory

public class PermissionTargetMatchBuilderFactory
extends TargetMatchBuilderFactory

Implements a Singleton TargetMatchBuilderFactory for Permission targets.

Since:
Version:
$Revision: 1.2 $
Author:
Lutz Suhrbier

Field Summary
private static PermissionTargetMatchBuilderFactory factory
           
(package private) static Logger logger
           
 
Fields inherited from class nbi.xmlsec.xacml.builder.TargetMatchBuilderFactory
 
Constructor Summary
private PermissionTargetMatchBuilderFactory()
           
 
Method Summary
static PermissionTargetMatchBuilderFactory getInstance()
           
 TargetMatchBuilder getInstance(int type, Object obj)
          Creates an instance of a matching TargetMatchBuilderof the given object.
 
Methods inherited from class nbi.xmlsec.xacml.builder.TargetMatchBuilderFactory
registerActionMatchBuilder, registerResourceMatchBuilder, registerSubjectMatchBuilder, registerTargetMatchBuilder, unregisterActionMatchBuilder, unregisterResourceMatchBuilder, unregisterSubjectMatchBuilder, unregisterTargetMatchBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

static Logger logger

factory

private static PermissionTargetMatchBuilderFactory factory
Constructor Detail

PermissionTargetMatchBuilderFactory

private PermissionTargetMatchBuilderFactory()
Method Detail

getInstance

public static PermissionTargetMatchBuilderFactory getInstance()

getInstance

public TargetMatchBuilder getInstance(int type,
                                      Object obj)
Description copied from class: TargetMatchBuilderFactory
Creates an instance of a matching TargetMatchBuilderof the given object.

Overrides:
getInstance in class TargetMatchBuilderFactory
Parameters:
type - TargetMatchBuildertype ( SUBJECT, RESOURCEor ACTION).
obj - Object to create a matching TargetMatchBuilderfor.
Returns:
TargetMatchBuilderinstance or null.


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