org.onebusaway.api.services
Class DummyApiKeyPermissionService

java.lang.Object
  extended by org.onebusaway.api.services.DummyApiKeyPermissionService
All Implemented Interfaces:
ApiKeyPermissionService

public class DummyApiKeyPermissionService
extends Object
implements ApiKeyPermissionService


Constructor Summary
DummyApiKeyPermissionService()
           
 
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
 

Constructor Detail

DummyApiKeyPermissionService

public DummyApiKeyPermissionService()
Method Detail

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 © 2011 OneBusAway. All Rights Reserved.