Benoit Tellier created JAMES-3186:
-------------------------------------

             Summary: Add a Basic auth mechanism based on administratorId for 
webadmin
                 Key: JAMES-3186
                 URL: https://issues.apache.org/jira/browse/JAMES-3186
             Project: James Server
          Issue Type: Improvement
          Components: webadmin
            Reporter: Benoit Tellier


Following 
https://github.com/apache/james-project/pull/191/commits/5905a1dfad8c4e97a7a0fb34b5201b66a23bec73#r426562339

JWT authentication is not convenient enough. We don't have alternatives for 
webAdmin authentication and it is sad. I propose to add a mechanism to None and 
Jwt modes: Basic using the administratorId and corresponding credentials as 
configured in usersrepository.xml.

So, in `webadmin.properties`:

{code:java}
authentication=basic
# possible values: none, basic, jwt
# Can't be specified if legacy configuration option jwt.enabled is specified
{code}

We then need to write a BasicAuthenticationFilter within webadmin-core, and 
manage to load it in the WebAdminServer when authentication=basic.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to