本文介绍了如何使用独立的Java客户端将WAFFLE用于SSO的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正尝试通过带有JAAS的独立Java客户端将WAFFLE用于SSO.我们在jaas.conf中提到了waffle.jaas.WindowsLoginModule,但它提示输入用户名和密码,我们认为这不是SSO的理想解决方案.有人可以建议如何避免这种情况吗?

We are trying to use WAFFLE for SSO using a standalone java client with JAAS. We've mentioned waffle.jaas.WindowsLoginModule in our jaas.conf but it is prompting for user name, password which we believe is not an ideal solution for SSO. Can any one suggest how to avoid this?

仅供参考-我们没有使用任何Web/应用服务器.

FYI - We aren't using any web/app server.

推荐答案

我相信您需要SSO的服务器和客户端.您可以看一下此示例,它不使用登录模块,而是底层的WindowsSecurityContext. WAFFLE中包含的类,用于来回传递kerberos令牌以获取登录用户.

I believe you will need both a server and client for SSO. You can have a look at this example, it doesn't use the login module but the underlying WindowsSecurityContext classes included in WAFFLE to pass the kerberos tokens back and forth to get the logged in user.

这篇关于如何使用独立的Java客户端将WAFFLE用于SSO的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-10 06:42