org.openpermis.examples.xacml
Class HelloWorld

java.lang.Object
  extended by org.openpermis.examples.xacml.HelloWorld

public final class HelloWorld
extends Object

A sample HelloWorld application that can be invoked from the command line.

Since:
0.4.0

Field Summary
private static int BUF_LEN
           
 
Constructor Summary
private HelloWorld()
          Objects of this class cannot be instantiated.
 
Method Summary
private static String convertStreamToString(Reader reader)
          Converts a Reader to a String.
static org.openpermis.xacml.XacmlAuthorizationService createService()
          This main method creates a xacml authorization service.
static void main(String[] args)
          This main method makes a simple request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUF_LEN

private static final int BUF_LEN
Constant Field Value:
1000
Constructor Detail

HelloWorld

private HelloWorld()
Objects of this class cannot be instantiated.

Since:
0.4.0
Method Detail

main

public static void main(String[] args)
This main method makes a simple request.

Since:
0.4.0

createService

public static org.openpermis.xacml.XacmlAuthorizationService createService()
This main method creates a xacml authorization service.

Since:
0.4.0

convertStreamToString

private static String convertStreamToString(Reader reader)
                                     throws IOException
Converts a Reader to a String.

Parameters:
reader - a reader
Returns:
a string.
Throws:
IOException - signals a reading problem.
Since:
0.4.0


PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:16:00
Copyright (c) 2002-2007 Ergon Informatik AG