org.onebusaway.api.services
Class DummyApiKeyPermissionService
java.lang.Object
org.onebusaway.api.services.DummyApiKeyPermissionService
- All Implemented Interfaces:
- ApiKeyPermissionService
public class DummyApiKeyPermissionService
- extends Object
- implements 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyApiKeyPermissionService
public DummyApiKeyPermissionService()
getPermission
public boolean getPermission(String key,
String service)
- Description copied from interface:
ApiKeyPermissionService
- Checks whether a user has permission to access a given service,
and marks it as having been used.
- Specified by:
getPermission
in interface ApiKeyPermissionService
- Returns:
- true if the specified key is allowed to access the ggiven service
Copyright © 2012 OneBusAway. All Rights Reserved.