springpython.security.providers.dao
index
/home/gturnquist/spring-python-1.1.x/src/springpython/security/providers/dao.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.

 
Modules
       
logging

 
Classes
       
__builtin__.object
SaltSource
ReflectionSaltSource
SystemWideSaltSource
UserCache
NullUserCache
springpython.security.providers.AuthenticationProvider(__builtin__.object)
AbstractUserDetailsAuthenticationProvider
DaoAuthenticationProvider

 
class AbstractUserDetailsAuthenticationProvider(springpython.security.providers.AuthenticationProvider)
    
Method resolution order:
AbstractUserDetailsAuthenticationProvider
springpython.security.providers.AuthenticationProvider
__builtin__.object

Methods defined here:
__init__(self)
additional_auth_checks(self, user_details, authentication)
authenticate(self, authentication)
create_success_auth(self, principal, authentication, user)
retrieve_user(self, username, authentication)

Methods inherited from springpython.security.providers.AuthenticationProvider:
supports(self, authentication)
Returns true if this AuthenticationProvider supports the indicated Authentication object.

Data descriptors inherited from springpython.security.providers.AuthenticationProvider:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class DaoAuthenticationProvider(AbstractUserDetailsAuthenticationProvider)
    
Method resolution order:
DaoAuthenticationProvider
AbstractUserDetailsAuthenticationProvider
springpython.security.providers.AuthenticationProvider
__builtin__.object

Methods defined here:
__init__(self, user_details_service=None, password_encoder=<springpython.security.providers.encoding.PlaintextPasswordEncoder object>)
additional_auth_checks(self, user_details, authentication)
retrieve_user(self, username, authentication)

Methods inherited from AbstractUserDetailsAuthenticationProvider:
authenticate(self, authentication)
create_success_auth(self, principal, authentication, user)

Methods inherited from springpython.security.providers.AuthenticationProvider:
supports(self, authentication)
Returns true if this AuthenticationProvider supports the indicated Authentication object.

Data descriptors inherited from springpython.security.providers.AuthenticationProvider:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class NullUserCache(UserCache)
    
Method resolution order:
NullUserCache
UserCache
__builtin__.object

Methods defined here:
get_user(self, username)
put_user(self, user)
remove_user(self, username)

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

 
class ReflectionSaltSource(SaltSource)
    Obtains a salt from a specified property of the User object.
 
This allows you to subclass User and provide an additional bean getter for a salt.
You should use a synthetic value that does not change, such as a database primary key.
Do not use username if it is likely to change.
 
 
Method resolution order:
ReflectionSaltSource
SaltSource
__builtin__.object

Methods defined here:
__init__(self, user_prop_to_use='')
get_salt(self, user)

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

 
class SaltSource(__builtin__.object)
    Provides alternative sources of the salt to use for encoding passwords.
 
  Methods defined here:
get_salt(self, user)
Returns the salt to use for the indicated user.

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

 
class SystemWideSaltSource(SaltSource)
    Uses a static system-wide String as the salt.
 
Does not supply a different salt for each User. This means users sharing the same
password will still have the same digested password. Of benefit is the digested passwords will at least be more protected than if stored without any salt.
 
 
Method resolution order:
SystemWideSaltSource
SaltSource
__builtin__.object

Methods defined here:
__init__(self, system_wide_salt='')
get_salt(self, user)

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

 
class UserCache(__builtin__.object)
     Methods defined here:
get_user(self, username)
put_user(self, user)
remove_user(self, username)

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