de.fzj.unicore.uas.security.util
Class RequestBuilder

java.lang.Object
  extended by de.fzj.unicore.uas.security.util.RequestBuilder

public class RequestBuilder
extends java.lang.Object

helper to build XACML requests

Author:
schuller, golbi

Method Summary
static void addCallback(AttributeHandlingCallback aac)
          add a callback class.
static com.sun.xacml.ctx.RequestCtx buildRequest(de.fzj.unicore.xnjs.aaa.Client c, java.lang.String action, ResourceDescriptor res)
          builds a request of the type: can client "c" do "action" on "res"?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addCallback

public static void addCallback(AttributeHandlingCallback aac)
add a callback class.

Parameters:
aac -

buildRequest

public static com.sun.xacml.ctx.RequestCtx buildRequest(de.fzj.unicore.xnjs.aaa.Client c,
                                                        java.lang.String action,
                                                        ResourceDescriptor res)
                                                 throws java.lang.Exception
builds a request of the type: can client "c" do "action" on "res"?

Parameters:
c - Client
action - the method name (e.g. GetResourceProperty)
res - a ws resource identified by url+service name+uuid
Returns:
XACML request
Throws:
java.lang.Exception


Copyright © 2006-2010 Research Center Juelich. All Rights Reserved.