通过STS提供Java Metro Client + WCF服务 [英] Java Metro Client + WCF Service via STS

查看:79
本文介绍了通过STS提供Java Metro Client + WCF服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有基于声明的身份验证和授权的WCF服务。凭据由我的自定义sts存储和验证(我创建了一个活动端点)。一切正常(我甚至制作了使用该服务的.net 4.0客户端)。

I have WCF service with claims based authentication and authorization. Credentials are stored and validated by my custom sts (I created an active endpoint). Everything is working fine (I even made .net 4.0 client which uses the service).

但是现在我需要创建JAVA metro客户端将使用我的服务。

But now I need to create JAVA metro client which will use my service.

有人有  适当功能样品?
使用名称和传递从sts发出令牌,使用令牌

Does somebody have an appropriate sample? (issuing token from sts using name and pass, calling web service methods with the token)

推荐答案

您需要的是WS-Trust的Java实现。

What you need is a Java implementation of WS-Trust.

参见
在Metro中使用WS-Trust支持来保护Web服务

部署和使用Metro Security令牌服务(STS)
(不是文章,而是底部的链接)。

See Using WS-Trust Support in Metro to Secure Web Services or Deploying and Using a Metro Security Token Service (STS) (Not so much the article but the links at the bottom).


这篇关于通过STS提供Java Metro Client + WCF服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆