Did I find the right examples for you? yes no

All Samples(32)  |  Call(0)  |  Derive(0)  |  Import(32)
Resource gateway registration interface.

This mechanism provides a layer of security between external resources
(such as files and databases) and the whiff configuration infrastructure.

It is intended that a gateway prevents a whiff configuration template
from accessing arbitrary resources, while allowing access to specified
resources.

For example this might allow an RPC request to read and write a specific(more...)

src/w/h/whiff-1.1/whiff/servers/fsCSI/fsCSIroot/getCompletionInfo2.py   whiff(Download)
 
from whiff import resolver
from whiff import whiffenv
from whiff.middleware import misc
from whiff import gateway

src/w/h/whiff-1.1/whiff/servers/fsCSI/fsCSIroot/getCompletionInfo.py   whiff(Download)
 
from whiff import resolver
from whiff import whiffenv
from whiff.middleware import misc
from whiff import gateway

src/w/h/whiff-1.1/whiff/resources/PageShadow.py   whiff(Download)
"""
 
from whiff import gateway
from whiff import stream
from whiff import whiffenv

src/w/h/whiff-1.1/whiff/middleware/treeView.py   whiff(Download)
from whiff import whiffenv
from whiff import resolver
from whiff import gateway
from whiff.rdjson import jsonParse
 

src/w/h/whiff-1.1/whiff/middleware/skimpy.py   whiff(Download)
from whiff import whiffenv
from whiff import resolver
from whiff import gateway
 
def numeric_hash(v, secret, minimum=5000):

src/w/h/whiff-1.1/whiff/middleware/IfJavascriptUrl.py   whiff(Download)
from whiff import resolver
from whiff import whiffenv
from whiff import gateway
 
class ifJavascriptUrl(misc.utility):

src/w/h/whiff-1.1/whiff/middleware/getResource.py   whiff(Download)
# import must be absolute
from whiff.middleware import misc
from whiff import gateway
from whiff import whiffenv
from whiff import stream

src/w/h/whiff-1.1/whiff/resources/GAETreeStore.py   whiff(Download)
    if the differ resolve them prefering environment values
    """
    from whiff import gateway
    if not envcreator:
        envcreator = env.get("creatorNick")
def passwordOk(env, rootId, password):
    from whiff import gateway
    from whiff import whiffenv
    result = False
    theRoot = getRoot(rootId)

src/w/h/whiff-1.1/whiff/servers/fsCSI/fsCSI.py   whiff(Download)
from whiff import resolver
from whiff.resources import nConnect
from whiff import gateway
import fsCSIroot
 

src/w/h/whiff-1.1/whiff/middleware/repoze/who.py   whiff(Download)
 
from whiff.middleware import misc
from whiff import gateway
from whiff import whiffenv
 

  1 | 2 | 3 | 4  Next