01: /*
02: * Copyright Javelin Software, All rights reserved.
03: */
04:
05: package com.javelin.security;
06:
07: /**
08: * User is a user on the system.
09: *
10: * @author Dino Fancellu, Robin Sharp
11: */
12:
13: public interface User {
14: public String getLoginName();
15:
16: public String getFullName();
17:
18: public boolean isLoggedIn();
19:
20: public boolean hasPermission(String perm);
21:
22: public boolean hasPermissions(Object[] perms);
23: }
|