[英]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.