1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package ca.pjer.cm.api.access;
19
20 /***
21 * This service manages access.<br />
22 * <br />
23 * $Id: AccessService.java,v 1.1 2004/05/18 12:57:02 pjer Exp $<br />
24 * <br />
25 * $RCSfile: AccessService.java,v $<br />
26 * $Revision: 1.1 $<br />
27 * $Author: pjer $<br />
28 * $Date: 2004/05/18 12:57:02 $<br />
29 */
30 public interface AccessService {
31
32 AccessToken getAccessToken(AccessCredential accessCredential)
33 throws AccessServiceSystemException, InvalidAccessCredentialException;
34
35 boolean hasAccess(AccessToken accessToken, Permission permission, Class clazz)
36 throws AccessServiceSystemException, InvalidAccessTokenException;
37 }