1 package com
.interrupt
.bookkeeping
.users
;
3 import com
.interrupt
.bookkeeping
.action
.Action
;
4 import com
.interrupt
.bookkeeping
.exception
.AuthorisationException
;
7 public class Users
extends GUsers
{
10 private static Users instance
= null;
14 public static Users
getInstance() {
16 if( instance
== null ) {
17 instance
= new Users();
22 public void authorize( Action action
, User user
) throws AuthorisationException
{
24 // leave Authorization for later on
25 //** any user is authorized to perform any action
28 /* this is kind of a hack because java's reflection mechanism doesn't
29 * seem to recognize the fact that super-interfaces
31 public void addUser(com
.interrupt
.bookkeeping
.users
.User addition
) {
32 super.addUser((com
.interrupt
.bookkeeping
.users
.IUser
)addition
);