Commit eb061c17 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

12: Compose some initial documentation

Task-Url: #12
parent 8c7b29c8
Pipeline #17829 passed with stage
in 1 minute and 58 seconds
......@@ -100,14 +100,14 @@ As this library is based on Spring Security, concepts such as _Java-based config
Components that _only need import and activation_ in the target application:
* [SecurityConfig](dariahsp-core/src/main/java/eu/dariah/de/dariahsp/config/SecurityConfig.java): Main configuration contains all security-related beans and can be imported into the applications configuration
* `AuthInfoHandlerInterceptor` provides access to authentication information in every view-model as `_auth` attribute
* `DefaultFiltersConfigurerAdapter` provides filters for logout and intermediat-authentication callback (SAML)
* `SAMLMetadataController` provides easy web access to SAML SP metadata that can be used to register the implementing application at identity providers or federations
* `GlobalMethodSecurityConfig` enables and configures annotation-based method security and thus simplifies security for REST controllers
* [AuthInfoHandlerInterceptor](dariahsp-core/src/main/java/eu/dariah/de/dariahsp/web/AuthInfoHandlerInterceptor) provides access to authentication information in every view-model as `_auth` attribute
* [DefaultFiltersConfigurerAdapter](dariahsp-core/src/main/java/eu/dariah/de/dariahsp/config/web/DefaultFiltersConfigurerAdapter.java) provides filters for logout and intermediat-authentication callback (SAML)
* [`SAMLMetadataController`](dariahsp-core/src/main/java/eu/dariah/de/dariahsp/web/controller/SAMLMetadataController.java) provides easy web access to SAML SP metadata that can be used to register the implementing application at identity providers or federations
* [GlobalMethodSecurityConfig](dariahsp-core/src/main/java/eu/dariah/de/dariahsp/config/web/GlobalMethodSecurityConfig.java) enables and configures annotation-based method security and thus simplifies security for REST controllers
One component requires _adaption_ in implementing applications:
* `SecurityConfigurerAdapter` is intended to be extended by a concrete adapter that defines protected paths of the application.
* [SecurityConfigurerAdapter](dariahsp-core/src/main/java/eu/dariah/de/dariahsp/config/web/SecurityConfigurerAdapter.java) is intended to be extended by a concrete adapter that defines protected paths of the application.
## 4. Configuration
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment