Authentication
HEAppE Middleware supports authentication of users using the following methods:
OpenId Authentication Token
OpenId Authentication Token is a token that is issued by the OpenId provider, configuration of the AAI service can be done in the configuration file in the section HPCConnectionFrameworkSettings in the
OpenIdAuthenticationConfiguration
subsection.Example curl command to get the token:
curl -X 'POST' \ 'http://localhost:5000/heappe/UserAndLimitationManagement/AuthenticateUserOpenId' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "Credentials": { "Username": "string", "OpenIdAccessToken": "string" } }'
Lexis Authentication OpenId Token
Lexis Authentication OpenId Token is a token that is issued by the Lexis, configuration of the AAI service can be done in the configuration file in the section HPCConnectionFrameworkSettings in the
LexisAuthenticationConfiguration
subsection.Example curl command to get the token:
curl -X 'POST' \ 'http://localhost:5000/heappe/UserAndLimitationManagement/AuthenticateLexisToken' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "Credentials": { "Username": "string", "OpenIdAccessToken": "string" } }'
OpenStack Authentication Token
OpenStack Authentication Token is a token that is issued by the OpenStack Keystone service, configuration of the AAI service can be done in the configuration file in the section HPCConnectionFrameworkSettings.
Example curl command to get the token:
curl -X 'POST' \ 'http://localhost:5000/heappe/UserAndLimitationManagement/AuthenticateUserOpenStack' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "Credentials": { "Username": "string", "OpenIdAccessToken": "string" }, "ProjectId": 0 }'
User and Password Authentication
User and Password Authentication is a method that uses the username and password to authenticate the user. Configuration of the user can be done in the
seed.njson
file in the section AdaptorUser.Example curl command to get the token:
curl -X 'POST' \ 'http://localhost:5000/heappe/UserAndLimitationManagement/AuthenticateUserAndPassword' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "Credentials": { "Username": "string", "Password": "string" } }'