it-at-m / digiwf-project

Project repo for the DigiWF project automation platform.
MIT License
10 stars 1 forks source link

As a user I want to authenticate via sso in the new tasklist backend #242

Closed dominikhorn93 closed 1 year ago

dominikhorn93 commented 2 years ago

Description

For the new task management backend we decided to use Taskana. The Spring Security of the Taskana launcher should be adapted to work with the SSO server of the LHM. Authentication via LDAP directly is not an option. The groups of the user have to be mapped accordingly, so that they can be used for the authorization in Taskana.

Details

Customize security config

The security config should be adjusted so that it checks against oAuth2. It can be based on the RefArch

Customize filter bean

the filter bean should be adapted so that the corresponding security principles are loaded from the token information and the group information from the LDAP. These have to be included in the subject of JaasAuthentication, because Taskana needs them.

darenegade commented 1 year ago

We don't use Taskana and the new Task-Service already authenticates against SSO.