| |
- __builtin__.object
-
- SaltSource
-
- ReflectionSaltSource
- SystemWideSaltSource
- UserCache
-
- NullUserCache
- springpython.security.providers.AuthenticationProvider(__builtin__.object)
-
- AbstractUserDetailsAuthenticationProvider
-
- DaoAuthenticationProvider
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 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)
|
|