springpython.security.context
index
/home/gturnquist/spring-python-1.0.x/src/springpython/security/context/__init__.py

Copyright 2006-2008 SpringSource (http://springsource.com), All Rights Reserved
 
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
 
    http://www.apache.org/licenses/LICENSE-2.0
 
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

 
Package Contents
       
SecurityContextHolder

 
Classes
       
__builtin__.object
SecurityContext
SecurityContextHolderStrategy
GlobalSecurityContextHolderStrategy
ThreadLocalSecurityContextHolderStrategy

 
class GlobalSecurityContextHolderStrategy(SecurityContextHolderStrategy)
    Store one context in the entire python virtual machine. This typically suits a client-side
application.
 
 
Method resolution order:
GlobalSecurityContextHolderStrategy
SecurityContextHolderStrategy
__builtin__.object

Methods defined here:
__init__(self)
clearContext(self)
getContext(self)
setContext(self, context)

Data descriptors inherited from SecurityContextHolderStrategy:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class SecurityContext(__builtin__.object)
     Methods defined here:
__init__(self, authentication=<springpython.security.providers.Authentication instance>)
__str__(self)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class SecurityContextHolderStrategy(__builtin__.object)
    Strategy interface to allow defining ways to store security context.
 
  Methods defined here:
clearContext(self)
getContext(self)
setContext(self, context)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class ThreadLocalSecurityContextHolderStrategy(SecurityContextHolderStrategy)
    Strategy to store the security context in a local thread. This allows multi-threaded
apps to manage multiple contexts at the same time.
 
 
Method resolution order:
ThreadLocalSecurityContextHolderStrategy
SecurityContextHolderStrategy
__builtin__.object

Methods defined here:
__init__(self)
clearContext(self)
getContext(self)
setContext(self, context)

Data descriptors inherited from SecurityContextHolderStrategy:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)