|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.xtreemos.xosd.vops.xacml.utils.SampleRequestBuilder
public class SampleRequestBuilder
This is an example program that shows how to build and generate an XACML Request. This is a major part of what a PEP does. An equivalent Request to that generated here is found in the request directory as generated.xml. The generated policy can be used with this request.
Field Summary | |
---|---|
(package private) static com.sun.xacml.ctx.RequestCtx |
request
|
Constructor Summary | |
---|---|
SampleRequestBuilder()
|
Method Summary | |
---|---|
static com.sun.xacml.ctx.RequestCtx |
getRequest()
|
static void |
main(java.lang.String[] args)
Command-line interface that creates a new Request by invoking the static methods in this class. |
static java.util.Set |
setupAction()
Creates an Action specifying the action-id, an optional attribute. |
static java.util.Set |
setupResource()
Creates a Resource specifying the resource-id, a required attribute. |
static java.util.Set |
setupSubjects()
Sets up the Subject section of the request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static com.sun.xacml.ctx.RequestCtx request
Constructor Detail |
---|
public SampleRequestBuilder()
Method Detail |
---|
public static java.util.Set setupSubjects() throws java.net.URISyntaxException
java.net.URISyntaxException
- if there is a problem with a URIpublic static java.util.Set setupResource() throws java.net.URISyntaxException
java.net.URISyntaxException
- if there is a problem with a URIpublic static java.util.Set setupAction() throws java.net.URISyntaxException
java.net.URISyntaxException
- if there is a problem with a URIpublic static com.sun.xacml.ctx.RequestCtx getRequest()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |