webin-auth v1.0.2
webin-auth
Introduction
This project provides Webin authentication and authorisation services as well as submission account registration and editing functionality.
Context path for accessing the swagger API is
http://<domain>:<port>/ena/submit/webin/auth example: http://localhost:8080/ena/submit/webin/auth
Usage
The application is executed using the JAR file and different environments are handled using spring profiles.
java -Dspring.profiles.active=<profile> -jar webin-auth-<version>.jar
Authentication
The ENA application authentication and authorization is developed using Spring Security 5.3.3. More details about Spring Security can be found in https://docs.spring.io/spring-security/site/docs/current/reference/html5/. Since we are using JSON payload for authentication we need to customize Spring Security for accepting JSON and converting it to valid AuthenticationToken.
Docker image build and run locally
- Run
gradlew dockerBuildImage
- Run
gradlew dockerRun
Kubernetes deployment
Docker image build, push and kubernetes deployment is taken care by GitLab CI configurations. Please refer project .gitlab-ci.yml file to find out more
4 years ago