You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2020/05/18 11:44:00 UTC

[jira] [Created] (JAMES-3186) Add a Basic auth mechanism based on administratorId for webadmin

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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org