org.glite.gpbox.pdp
Interface PDPServerInterface

All Superinterfaces:
java.rmi.Remote

public interface PDPServerInterface
extends java.rmi.Remote

Author:
gianluca TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Method Summary
 com.sun.xacml.ctx.ResponseCtx evaluate(java.io.InputStream req)
          Evaluates the given request and returns the Response that the PDP will hand back to the PEP.
 java.util.ArrayList GetIPList()
           
 java.lang.String InsertPolicy(int idp)
           
 void SetIPList(java.util.ArrayList iplist)
           
 

Method Detail

SetIPList

public void SetIPList(java.util.ArrayList iplist)
               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

GetIPList

public java.util.ArrayList GetIPList()
                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

evaluate

public com.sun.xacml.ctx.ResponseCtx evaluate(java.io.InputStream req)
                                       throws java.io.IOException,
                                              com.sun.xacml.ParsingException,
                                              java.rmi.RemoteException
Evaluates the given request and returns the Response that the PDP will hand back to the PEP.

Returns:
the result of the evaluation
Throws:
java.io.IOException - if there is a problem accessing the file
com.sun.xacml.ParsingException - if the Request is invalid
java.rmi.RemoteException

InsertPolicy

public java.lang.String InsertPolicy(int idp)
                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException