ca.pjer.cm.api.access
Interface AccessService


public interface AccessService

This service manages access.

$Id: AccessService.java,v 1.1 2004/05/18 12:57:02 pjer Exp $

$RCSfile: AccessService.java,v $
$Revision: 1.1 $
$Author: pjer $
$Date: 2004/05/18 12:57:02 $


Method Summary
 AccessToken getAccessToken(AccessCredential accessCredential)
           
 boolean hasAccess(AccessToken accessToken, Permission permission, java.lang.Class clazz)
           
 

Method Detail

getAccessToken

public AccessToken getAccessToken(AccessCredential accessCredential)
                           throws AccessServiceSystemException,
                                  InvalidAccessCredentialException
Throws:
AccessServiceSystemException
InvalidAccessCredentialException

hasAccess

public boolean hasAccess(AccessToken accessToken,
                         Permission permission,
                         java.lang.Class clazz)
                  throws AccessServiceSystemException,
                         InvalidAccessTokenException
Throws:
AccessServiceSystemException
InvalidAccessTokenException


Copyright © 2004 PjEr.ca. All Rights Reserved.