Looking for examples for org.wildfly.security.mechanism.http.UsernamePasswordAuthenticationMechanism usage with WildFly 26

59 views
Skip to first unread message

Madhava Alampally

unread,
Apr 25, 2023, 2:31:47 AM4/25/23
to WildFly
Hi Team

Can you please provide the examples on usage for org.wildfly.security.mechanism.http.UsernamePasswordAuthenticationMechanism with WildFly 26. 

I've searched in https://github.com/wildfly-security-incubator/elytron-examples but I couldn't able to find any references.

Thanks & Regards,
Madhava

Diana Krepinska

unread,
Apr 25, 2023, 9:43:47 AM4/25/23
to WildFly
Hi Madhava, I replied to you in previous thread as well. The class you mention is being extended by the basic[1] and form[2] authentication mechanisms that are being provided by the server and can be configured in your web.xml.

The example of how to add your custom authentication mechanism to wildfly can be seen in this quickstart[3] and related blog post[4].

Madhava Alampally

unread,
Apr 25, 2023, 11:58:09 AM4/25/23
to Diana Krepinska, WildFly
Thank you so much Diana.

I'll go through these and implement the required changes accordingly.

Thanks & Regards
Madhava

--
You received this message because you are subscribed to a topic in the Google Groups "WildFly" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wildfly/kG8_ajYzYCQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wildfly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/50ffc7e0-be62-4143-a976-6d5a3aec7b8an%40googlegroups.com.

This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.
Reply all
Reply to author
Forward
0 new messages