Adding user/pass to standalone wiremock admin endpoints

83 views
Skip to first unread message

Johny Hoffman

unread,
Nov 8, 2022, 4:41:52 PM11/8/22
to wiremock-user
We're using wiremock 2.35.0 standalone and i can't find a straight forward guide to adding a username and password to the admin endpoints. Can I get a quick rundown of how to do that? Thanks.

Tom Akehurst

unread,
Nov 9, 2022, 6:23:24 AM11/9/22
to wiremock-user
Take a look at ClientAuthenticationAcceptanceTest for an example of how to set this up.

To use it standalone you'd need to package up your own standalone JAR as right now it's not possible to add an authenticator via the extension mechanism.

Johny Hoffman

unread,
Nov 9, 2022, 8:40:19 AM11/9/22
to wiremock-user
Thanks for the quick answer. The referenced link is pretty straight forward for the way to currently do this. Appreciate it.
Reply all
Reply to author
Forward
0 new messages