简体   繁体   English

如何使用Java重新验证已在Okta应用程序下登录的用户?

[英]How can I re-authenticate a user already signed in under an Okta application using Java?

I have an application that is already working with Okta SAML, but I have a situation, required by the FDA, that in certain process, I need to create a pop-up window with Java Code (I am using OKTA SAML Toolkit 2.0.5) and request the user again their password and send it to Okta to validate. 我有一个已经在使用Okta SAML的应用程序,但是我有FDA要求的情况,在某些过程中,我需要使用Java代码创建一个弹出窗口(我使用的是OKTA SAML Toolkit 2.0.5 ),然后再次要求用户输入密码,然后将其发送给Okta进行验证。

But I am not sure which tools to use from the toolkit. 但是我不确定该工具包中要使用哪些工具。 Can you please point out an example? 你能指出一个例子吗?

The application is running on WebSphere V9. 该应用程序正在WebSphere V9上运行。

Thank you. 谢谢。

Answered by Gavin: So if your project is a maven project you dont need to import the project just add the dependencies (as described in getting started: here github.com/okta/okta-auth-java) to your pom file. 加文回答:因此,如果您的项目是Maven项目,则不需要导入项目,只需将依赖项(如入门中所述:github.com/okta/okta-auth-java)添加到pom文件中。 If your project isint a maven project you will need to download the dependencies from maven central and make sure the jars are on the class path. 如果您的项目不是Maven项目,则需要从Maven Central下载依赖项,并确保jar位于类路径中。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用Java应用程序中的Okta向Sharepoint进行身份验证 - Using Okta from Java Application to authenticate with Sharepoint 我如何在不重定向到 Okta 登录的情况下使用 Okta 对用户进行身份验证 - How do i Authenticate user using Okta without redirecting to Okta login 重新验证用户。 使用 Android 的 FirebaseUI 身份验证 - Re-authenticate a user. with FirebaseUI auth for Android 尝试使用 Google 登录凭据在 Firebase 上重新进行身份验证时出错 - Error while trying to re-authenticate on Firebase using Google-sign-in credentials 我可以使用Stormpath Java SDK在strompath中验证用户帐户吗? - Can I authenticate a user account in strompath using Stormpath Java SDK? 如何为我的应用程序验证 Reddit 用户? - How can I authenticate a Reddit user for my application? 如何使用Wordpress在Spring Web应用程序中对用户进行身份验证? - How can I use Wordpress to authenticate a user in a spring web application? 是否可以将Java SDK用于Okta API,以检查是否存在由用户登录创建的Okta会话? - Can I use the Java SDK for the Okta API to check for the existence of an Okta Session created by a user sign-on? 为什么我必须在用户登录后使用 firebase 对其进行身份验证? - Why do I have to authenticate the user with firebase after he has already signed-in? 用户在我的 android 应用程序中登录或注册后如何更改活动? - How can I change the activity after the user signed in or signed up in my android application?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM