Luke Taylor
ca996de2dc
Added tests for SpringSecurityAuthenticationSource.
19 years ago
Luke Taylor
894c90dadd
Moved AbstractAuthenticationManagerTests into ProviderManager as tested methods have already been moved there (maven wasn't running Abstract* tests but they were actually failing).
19 years ago
Luke Taylor
32038d8b92
Tidying.
19 years ago
Luke Taylor
47dec4e597
Make getters in AbstractRememberMeServices protected rather than public
19 years ago
Luke Taylor
ee31305fd5
Deprecated InitialDirContextFactory
19 years ago
Luke Taylor
5382627d4a
Added property to LdapAuthenticationProvider to allow the credentials to be set either using the submitted password (the default) or the credentials from the loaded UserDetails object (which may be null if the attribute isn't readable).
19 years ago
Luke Taylor
78529f6d28
SEC-620: AuthenticationSource implementation.
19 years ago
Luke Taylor
5e0cb21c8d
SEC-619: Added test class for LdapUserDetailsService. The LdapAuthoritiesPopulator interface and also implementations have been moved to the org.springframework.security.ldap package since they are now used by both the ldap provider and the user service.
19 years ago
Ben Alex
4770c29094
Use hyphens in attribute names, and not Camel Case. This is to maintain
...
consistency with the rest of Spring Portfolio. Camel Case was preserved
for attribute values, consistent with Spring Portfolio usage such as
autowiring modes (byName, byType etc).
19 years ago
Luke Taylor
6ad176ce1a
Tidying.
19 years ago
Luke Taylor
4984024314
SEC-618: Moved copyDetails method down to ProviderManager so that it can be called prior to checking if authentication is allowed by ConcurrentSessionController.
19 years ago
Luke Taylor
b12a4939df
SEC-619: LdapUserDetailsService implementation.
19 years ago
Luke Taylor
a569ff01e2
Tidying.
19 years ago
Luke Taylor
382dc50f3c
SEC-299: Change ConcurrentSessionFilter to delegate to an array of LogoutHandlers rather than invalidating an expired session directly.
19 years ago
Luke Taylor
cb980f12d5
Tidying.
19 years ago
Luke Taylor
628227f5e7
Corrected out of date comment (constructor doesn't create a session). Removed unnecessary default constructor.
19 years ago
Luke Taylor
4b8455c831
Tidying comments.
19 years ago
Luke Taylor
4c6e41af7d
Tidying comments.
19 years ago
Ben Alex
c66a3ba323
@deprecate FilterToBeanProxy in favour of the simpler and Spring Core provided DelegatingFilterProxy.
19 years ago
Luke Taylor
ab23fe56ad
Added log msg for loading of ldif files.
19 years ago
Luke Taylor
a1abcc39d2
SEC-513: Minor work on LDAP UserDetailsManager implementation.
19 years ago
Luke Taylor
e3432c2407
Some changes suggested by Spring LDAP guys to improve template usage.
19 years ago
Luke Taylor
4d133be0d0
Tidying.
19 years ago
Luke Taylor
3ddcc203bf
LdapUserDetailsMapper now throws UnsupportedOperationException for mapUserToContext method as only subclasses of this which implement actual LDAP object classes should be used for writing to a directory.
19 years ago
Luke Taylor
22052115b6
SEC-617: Make LDAPAuthenticationProvider a standalone class.
19 years ago
Ben Alex
88ab9671c6
Correct attribute name.
19 years ago
Ben Alex
9b6c798a52
SEC-496: <annotation-driven> element.
19 years ago
Ben Alex
949205b369
Correction of equals(Object) and hashCode() methods.
19 years ago
Ben Alex
85085abf9e
Add namespace support for Servlet API integration.
19 years ago
Ben Alex
a205f95c19
No need for an access denied page.
19 years ago
Ben Alex
8c3cc5c67b
Add hash code support.
19 years ago
Ben Alex
8e7c540b16
General refactorings and improvements to namespace support, including
...
autoDetect="true" attribute for <http> element.
19 years ago
Ben Alex
2441ab6d9a
Move "realm" attribute to be on <http> element rather than <http-basic>.
...
This faciltiates reuse with other mechanisms (like Digest) whilst also
moving towards the <http-auto-configure> element (which benefits from
having shared configuration in <http> as opposed to mechanism-specific
elements).
19 years ago
Ben Alex
d9ec944579
Refactor strings to static fields. To facilitate unit testing, package
...
protected visibility was adopted for all element names, attribute names,
and attribute default values. A public access modifier was used for all
bean IDs assigned to bean definitions created by the
BeanDefinitionParsers.
19 years ago
Ben Alex
4e55bd0117
Make extend Spring Security's exception, for consistency with all other Spring Security exceptions.
19 years ago
Ben Alex
9b4bb0ffd8
<repository> element and JdbcUserDetailsManager support.
19 years ago
Ben Alex
5f98ee6817
<repository> element and JdbcUserDetailsManager support.
19 years ago
Ben Alex
0b0b174eda
Support <repository> and JbcUserDetailsManager.
19 years ago
Ben Alex
8cf46ad0f8
Remove, as not used.
19 years ago
Ben Alex
8c9138b443
Typos.
19 years ago
Ben Alex
021f03487e
Enhancements to correctly handle authentication failures.
19 years ago
Ben Alex
2a83843e7d
Correct username key.
19 years ago
Luke Taylor
75391e89de
Tidied up Id tag.
19 years ago
Luke Taylor
794795712d
Parameter renamed.
19 years ago
Luke Taylor
97030e8942
Changed LDAP namespace parsing to make sure LDAP provider is registered with ProviderManager.
19 years ago
Luke Taylor
89d04b54bd
Updated version numbers in petclinic tutorial file.
19 years ago
Luke Taylor
248d97c9d6
SEC-513: Added support for cache flushing after updating or deleting data in JdbcUserDetailsManager.
19 years ago
Ben Alex
53fca59301
Add namespace support for anonymous requests. Remove unnecessary files from tutorial sample.
19 years ago
Ben Alex
d086815d75
Add namespace support for anonymous requests. Also minor improvements to .rnc file as Trang didn't appear to be properly translating multi-line comments to the XSD (all multi-line comments were made single lines).
19 years ago
Ben Alex
5c9009a391
Use new SpringSecurityFilter so compatible with enhanced FilterChainProxy class.
19 years ago