How login user programmatially with password

Confluence User - 23 Sep, 2021

Hi everyone,

I do a login user programmatially but without a password, with a token (Single Sign On - SSO). How I do a login programmatially with a password?

Can I have some example code?

Thanks!

userdetails

2


25 Sep, 2021
confluenceUser
confluenceUser

You can just perform a POST call to "/jw/j_spring_security_check" with "j_username" and "j_password".

What is your end goal? To develop a new directory manager plugin?

30 Sep, 2021
confluenceUser
confluenceUser

In fact, I just develop a form to Authenticate at Active Directory and log programmatially with local base and now I want to autenticate the local base with a password, in case of local admin account.

I will try your solution. thanks.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print