org.openpermis.examples.simple
Class HelloWorld

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

public final class HelloWorld
extends Object

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

For the sake of simplicity error handling is very simple

Since:
0.1.0

Method Summary
static LetterboxService createService()
          Creates the LetterboxService.
static void main(String[] args)
          This main method creates an authorized letterbox service and tries to execute requested actions for user names.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)
This main method creates an authorized letterbox service and tries to execute requested actions for user names.

Parameters:
args - a user name and an action. E.g. "cn=john,o=post,c=ch" "collectLetters" or "cn=sara,o=post,c=ch" "insertLetter".
Since:
0.1.0

createService

public static LetterboxService createService()
Creates the LetterboxService.

Returns:
the HelloWorld service.
Since:
0.4.0


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