Quantcast
Viewing all articles
Browse latest Browse all 5648

Use Fediz with LDAP

Hello.

I have been using apache cxf fediz for some time now and I have managed to
get the examples working
and authorize sample users with the file implementation. Now I want to use
the LDAP implementation.
So I have an LDAP server with a Users OU that has all my sample users
(posix accounts, bob,alice,etc).
I have followed all the instructions from the
https://cxf.apache.org/fediz-idp-11.html but when I start
my servers (IDP/STS + RP) in localhost it prompts for authorization but
never accepts my users.
I have also removed RealmB, as I didn't need it as per instructions here
<http://cxf.547215.n5.nabble.com/Question-about-CXF-Fediz-1-1-0-and-certificates-td5737010.html>

In https://localhost:9443/fediz-idp-sts I see the 2 WSDLs here
1)https://localhost:9443/fediz-idp-sts/REALMA/STSServiceTransportUT?wsdl
2)https://localhost:9443/fediz-idp-sts/STSServiceTransportUT?wsdl

1)Do you have any idea what could be wrong?
2)I am not sure if I should give admin or normal user to LdapContextSource..

Thanks a lot in advance!
Ioannis Samartzis

Here are some files and logs that could be helpful:

*jaas.config*

MyLDAP {

* ldap.xml*

<?xml version="1.0" encoding="UTF-8"?>

And the endpoint part of *cxf-transport.xml*:

[...]

<import resource="ldap.xml" />

[...]

<jaxws:endpoint id="transportSTSRealmA"

*Apache tomcat with IDP/STS output:*

INFO: Server startup in 21891 ms

Viewing all articles
Browse latest Browse all 5648

Trending Articles