org.openpermis.examples.common
Class UnauthorizedLetterboxService
java.lang.Object
org.openpermis.examples.common.UnauthorizedLetterboxService
- All Implemented Interfaces:
- LetterboxService
public class UnauthorizedLetterboxService
- extends Object
- implements LetterboxService
Basic implementation of a letterbox for inserting and collecting letters.
- Since:
- 0.1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
private static final org.slf4j.Logger LOGGER
letterbox
private List<String> letterbox
UnauthorizedLetterboxService
public UnauthorizedLetterboxService()
- Creates a new letter box service.
- Since:
- 0.4.0
collectLetters
public List<String> collectLetters(String principal)
- Description copied from interface:
LetterboxService
- Collect and discharge all letters contained in this letterbox.
- Specified by:
collectLetters
in interface LetterboxService
- Parameters:
principal
- the principal executing this method.
- Returns:
- all letters contained in this letterbox.
- Since:
- 0.4.0
insertLetter
public void insertLetter(String principal,
String letter)
- Description copied from interface:
LetterboxService
- Inserts a letter into this letterbox.
- Specified by:
insertLetter
in interface LetterboxService
- Parameters:
principal
- the principal executing this method.letter
- a letter to insert.- Since:
- 0.4.0
OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:18:05
Copyright (c) 2002-2007 Ergon Informatik AG