org.onebusaway.users.services
Interface ApiKeyPermissionService

All Known Implementing Classes:
ApiKeyPermissionServiceImpl, DummyApiKeyPermissionService

public interface ApiKeyPermissionService


Method Summary
 boolean getPermission(String key, String service)
          Checks whether a user has permission to access a given service, and marks it as having been used.
 

Method Detail

getPermission

boolean getPermission(String key,
                      String service)
Checks whether a user has permission to access a given service, and marks it as having been used.

Returns:
true if the specified key is allowed to access the ggiven service


Copyright © 2011 OneBusAway. All Rights Reserved.