README.md 925 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# dariahsp

This library contains a wrapper for Spring Security SAML, along with extensions useful particularly for the context of DARIAH-DE. Fundamentally, this library distinguishes two authentication methods: the *local* method is intended primarily for developer and test setups, the *saml* method is targeted towards production environments.

## Authentication methods

### Local

To support local authentication, configure this library as in the *security-local-context.xml* template. To complete the setup for this method, applications might want to implement the *UserService* interface (base implementation *BaseUserService*) to provide access to persisted user information.

The implementation needs to be provided to the *LocalAuthenticationProvider*.

In cases that do not require user detail persistence, no implementation of the *UserDetails* should be provided to the *LocalAuthenticationProvider*.  

### SAML