由买买提看人间百态

topics

全部话题 - 话题: opensaml
1 (共1页)
j*******y
发帖数: 965
1
来自主题: Java版 - Anyone know SAML 2.0 and OpenSAML ?
Now we meet a new problem. Our system is very old, still use Java 1.4. The
SAML I just create is using opensaml-2.3.3.jar which support by Java 1.5. I
have to go back opensaml-1.1.jar which support by Java 1.4.
Using org.opensaml.SAMLResponse in opensaml-1.1b.jar to create assertion
responses. The assertion response looks like:

......
j*******y
发帖数: 965
2
来自主题: BuildingWeb版 - Anyone know SAML 2.0 and OpenSAML ? (转载)
【 以下文字转载自 Java 讨论区 】
发信人: jasperboy (jasper), 信区: Java
标 题: Anyone know SAML 2.0 and OpenSAML ?
关键字: SAML
发信站: BBS 未名空间站 (Fri Jul 23 18:36:02 2010, 美东)
Anyone know SAML 2.0 and OpenSAML ?
any example for it? Links?
Thanks
j*******y
发帖数: 965
3
来自主题: BuildingWeb版 - Anyone know SAML 2.0 and OpenSAML ? (转载)
网上有例子,我下载了运行了一下。 Java code 好象不复杂。 但是,我想把它用在网
页上。 网上好象没有直接的 OpenSAML 应用在网页上的例子。
我们现在的网页大多数部分没有用到 Web Service. 如何整合 OpenSAML 和网页呢?
j*******y
发帖数: 965
4
来自主题: Java版 - Anyone know SAML 2.0 and OpenSAML ?
网上有例子,我下载了运行了一下。 Java code 好象不复杂。 但是,我想把它用在网
页上。 网上好象没有直接的 OpenSAML 应用在网页上的例子。
我们现在的网页大多数部分没有用到 Web Service. 如何整合 OpenSAML 和网页呢?
Thank you in advance.
j*******y
发帖数: 965
5
来自主题: Programming版 - Anyone know SAML 2.0 and OpenSAML ? (转载)
【 以下文字转载自 Java 讨论区 】
发信人: jasperboy (jasper), 信区: Java
标 题: Anyone know SAML 2.0 and OpenSAML ?
关键字: SAML
发信站: BBS 未名空间站 (Fri Jul 23 18:36:02 2010, 美东)
Anyone know SAML 2.0 and OpenSAML ?
any example for it? Links?
Thanks
j*******y
发帖数: 965
6
来自主题: Programming版 - Anyone know SAML 2.0 and OpenSAML ? (转载)
网上有例子,我下载了运行了一下。 Java code 好象不复杂。 但是,我想把它用在网
页上。 网上好象没有直接的 OpenSAML 应用在网页上的例子。
我们现在的网页大多数部分没有用到 Web Service. 如何整合 OpenSAML 和网页呢?
j*******y
发帖数: 965
7
【 以下文字转载自 Java 讨论区 】
发信人: jasperboy (jasper), 信区: Java
标 题: Anyone know SAML 2.0 and OpenSAML ?
关键字: SAML
发信站: BBS 未名空间站 (Fri Jul 23 18:36:02 2010, 美东)
Anyone know SAML 2.0 and OpenSAML ?
any example for it? Links?
Thanks
j*******y
发帖数: 965
8
网上有例子,我下载了运行了一下。 Java code 好象不复杂。 但是,我想把它用在网
页上。 网上好象没有直接的 OpenSAML 应用在网页上的例子。
我们现在的网页大多数部分没有用到 Web Service. 如何整合 OpenSAML 和网页呢?
j*******y
发帖数: 965
9
【 以下文字转载自 Java 讨论区 】
发信人: jasperboy (jasper), 信区: Java
标 题: Anyone know SAML 2.0 and OpenSAML ?
关键字: SAML
发信站: BBS 未名空间站 (Fri Jul 23 18:36:02 2010, 美东)
Anyone know SAML 2.0 and OpenSAML ?
any example for it? Links?
Thanks
j*******y
发帖数: 965
10
网上有例子,我下载了运行了一下。 Java code 好象不复杂。 但是,我想把它用在网
页上。 网上好象没有直接的 OpenSAML 应用在网页上的例子。
我们现在的网页大多数部分没有用到 Web Service. 如何整合 OpenSAML 和网页呢?
j*******y
发帖数: 965
11
来自主题: Java版 - Anyone know SAML 2.0 and OpenSAML ?
Anyone know SAML 2.0 and OpenSAML ?
any example for it? Links?
Thanks
j**z
发帖数: 109
12
来自主题: Java版 - Anyone know SAML 2.0 and OpenSAML ?
Not particularly familiar with OpenSAML. But from its web site, it says it
is a just library, and do not provide a complete SAML identity (IdP) or
service provider (SP). You'll need IdP and SP to get things working.
SAML itself is a fairly complicated process, there are at least five or six
steps behind the scene between clicking the SSO link to the landing page. I
found wikipedia has a good explanation of SAML. Google also provide some SSO
API. PingIdentity is a decent vendor with good document
j**z
发帖数: 109
13
来自主题: Java版 - Anyone know SAML 2.0 and OpenSAML ?
Rule of thumb: google
I might be able to help if you have specific questions.
j*******y
发帖数: 965
14
来自主题: Java版 - Anyone know SAML 2.0 and OpenSAML ?
Actually, I believe we are the Id provider. Now we are developing a website
for a bank.
I contact Ping Identity at first, but now we will use mFoundry product as
the bank client said. The thing is that they did not give us an example how
to use it.
Do you know how to make a URL, which includes SSO ? I think I have a lot
information about server side code, but how does it interact with the web
sites?
j**z
发帖数: 109
15
来自主题: Java版 - Anyone know SAML 2.0 and OpenSAML ?
Assuming the bank is the SP, they should tell you what URL your should post
SAML assertion to, URL of the landing page (optional), and attributes used
within SAML (assuming you are using browser post). You two also need to
exchange certificates for encryption and signature purpose.
Don't know mFoundry, however, SAML is a standard, the point to use standard
is to have a vendor independent solution. I can't think about a reason you
have to use mFoundry.
In PingFederate server, you can set up a Id
j*******y
发帖数: 965
16
来自主题: Java版 - Anyone know SAML 2.0 and OpenSAML ?
Thank you a lot. I think I need more study.

post
standard
You
j*******y
发帖数: 965
17
来自主题: Java版 - Anyone know SAML 2.0 and OpenSAML ?
Today they provide certificates, URL which we should redirect to, many jar
files, and some code for SAML hand off.

base64 encoded string”/>



1) They ask me
j**z
发帖数: 109
18
来自主题: Java版 - Anyone know SAML 2.0 and OpenSAML ?
1. you are supposed to return the above HTML to the client browser, as the
result/respones when user click the SSO link. The browser will POST the data
to the bank site by .
2. Value of SAMLResponse is based 64 encoded, and url encoded SAML assertion
. SAML Assertion uses XML. You should be able to read it and understand the
structure.
3. You are not sending keystore, you are suppose to send public key file.
Keystore is where Java reads keys f
j*******y
发帖数: 965
19
来自主题: Java版 - Anyone know SAML 2.0 and OpenSAML ?
Today I use keytool to create a keystore file, and import the certificate
they give to me into the keystore. Then I create an assertion. I found an
assertion debug tool online. Now I can read the assertion after decode.
I put the assertion to a test web page and submit the form. I do not think I
got a correct response after submit the form. It shows the login error.
How do I know my assertion correct?
How do I change/define the key name in the keystore file?
thank you a lot.

data
.
assertion
th
j**z
发帖数: 109
20
来自主题: Java版 - Anyone know SAML 2.0 and OpenSAML ?
what kind of assertion debug tool did you find?
You'll need first to make sure you are posting the entire message as the
bank instructed, the entire HTML post, not just the SAML
After that the only thing you can do is to see if your SAML assertion is in
a good SAML/XML format, with all required SAML elements. You'll need to talk
to your bank folks, they normally has detail debug info in their log.
Normally we don't expose these details for security reasons.
j*******y
发帖数: 965
j*******y
发帖数: 965
22
来自主题: Java版 - Anyone know SAML 2.0 and OpenSAML ?
Today I got the success response from the bank. In the last few days, they
give us wrong action links.
Now I feel very great. Thank you for help.

in
talk
j**z
发帖数: 109
23
来自主题: Java版 - Anyone know SAML 2.0 and OpenSAML ?
looks good, just different XML namespace from what you posted above
j*******y
发帖数: 965
24
来自主题: Java版 - Anyone know SAML 2.0 and OpenSAML ?
Do I have to change my current XML namespace to follow their standard?
If so, do you know a converter?
Thank you.
I believe that the different namespace is the only problem I may have right
now.
c*c
发帖数: 447
25
来自主题: Java版 - Anyone know SAML 2.0 and OpenSAML ?
why don't you just use some opensource SAML framework, so you can focus more
on business requirements. It'll be painful to manage federation parterners
when the business grows.

right
j**z
发帖数: 109
26
来自主题: Java版 - Anyone know SAML 2.0 and OpenSAML ?
Normally it shouldn't matter. Ask you bank what error do they see on their
end.
http://www.xml.com/pub/a/1999/01/namespaces.html
j*******y
发帖数: 965
27
来自主题: Java版 - Anyone know SAML 2.0 and OpenSAML ?

more on business requirements. It'll be painful to manage :federation
parterners when the business grows.
Good suggestion.
their end.
I wrote to Shadi at mFoundry company before I post this question here. That
person still does not reply my email yet. Now I just wrote to our client,
the bank, about this matter.
j********e
发帖数: 16
28
来自主题: Java版 - Anyone know SAML 2.0 and OpenSAML ?
如果你使用saml做权限认证,那么我建议你使用Ralasafe。可以深入数据级进行权限认
证,没有学习成本,图形化界面,没有什么开发工作量。
这是我们团队开发的开源产品,基于MIT协议的。www.ralasafe.org
j*******y
发帖数: 965
29
Now I got it.
Just let me know if someone have problem over this topic.
1 (共1页)