|  |  | 
springpython.security.userdetails.UserDetailsService(__builtin__.object)
DatabaseUserDetailsService
 
 
| class DatabaseUserDetailsService(springpython.security.userdetails.UserDetailsService)
 |  |  | Retrieves user details (username, password, enabled flag, and authorities) from a database location. 
 A default database structure is assumed, (see DEF_USERS_BY_USERNAME_QUERY and DEF_AUTHORITIES_BY_USERNAME_QUERY,
 which most users of this class will need to override, if using an existing scheme. This may be done by
 setting the default query strings used. If this does not provide enough flexibility, another strategy
 would be to subclass this class and override relevant parts.
 
 In order to minimise backward compatibility issues, this DAO does not recognise the expiration of user
 accounts or the expiration of user credentials. However, it does recognise and honour the user enabled/disabled
 column.
 
 |  |  | Method resolution order:DatabaseUserDetailsServicespringpython.security.userdetails.UserDetailsService__builtin__.object
 Methods defined here:
 
 __init__(self, dataSource=None)
 add_custom_authorities(self, username, authorities)
 load_user(self, username)
 Data and other attributes defined here:
 
 AuthoritiesByUsernameMapping = <class 'springpython.security.userdetails.dao.AuthoritiesByUsernameMapping'>A row handler that processes one granted authority for a given user.
 DEF_AUTHORITIES_BY_USERNAME_QUERY = 'SELECT username,authority FROM authorities WHERE username = ?'
 DEF_USERS_BY_USERNAME_QUERY = 'SELECT username,password,enabled FROM users WHERE username = ?'
 UsersByUsernameMapping = <class 'springpython.security.userdetails.dao.UsersByUsernameMapping'>A row handler that processes one user entry.
 Data descriptors inherited from springpython.security.userdetails.UserDetailsService:
 
 __dict__dictionary for instance variables (if defined)
 __weakref__list of weak references to the object (if defined)
 |  |