Hello. Is there any way to get the password of a test user, in order to compare it to the information sent from a login form?

ivy.request.getApplication().getSecurityContext().findUser()

This only gives me methods for fullName, name, email.

asked 22.10 at 09:32

Adrian's gravatar image

Adrian
111
accept rate: 0%

I'm not from Ivy team but I would answer no. And I would not use Axon.ivy if it could give back the user's password via its API.

(23.10 at 23:05) Genzer Hawker Genzer%20Hawker's gravatar image

in order to compare it to the information sent from a login form? . What's wrong with ivy.session.loginSessionUser() though?

(23.10 at 23:08) Genzer Hawker Genzer%20Hawker's gravatar image

Hi

No this is not possible even for Test Users. And would be a security issue if you could. For Test Users we use in our test environment (and only there) just the user name or user name and a prefix or postfix as password.

link

answered 24.10 at 02:56

Christian%20Strebel's gravatar image

Christian St... ♦
2.6k21028
accept rate: 89%

Got it.Thank you.

(24.10 at 03:23) Adrian Adrian's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×2

Asked: 22.10 at 09:32

Seen: 57 times

Last updated: 24.10 at 03:23