Problem with LDAP identity store

dkruitbosch's picture
Hi, I'm trying to setup a wso identity solution using ApacheDS 1.5 as a LDAP auth realm. I've setup wso2is and ApacheDS, created a user in the LDAP server with uid=danny and some other attributes. I've set wso2is to use the LDAP as an auth realm and when I go to view all users as admin, i see the user in the list. So far so good... However, when I try to log in into wso2is with that uid, I get the following error: javax.servlet.ServletException: org.wso2.usermanager.custom.ldap.LDAPRealm cannot be cast to org.wso2.solutions.identity.users.IdentityDefaultRealm org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515) org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419) org.wso2.solutions.identity.relyingparty.servletfilter.RelyingPartyFilter.doFilter(RelyingPartyFilter.java:106) When I look at the stats (User behavior) as admin I see that the login was successfull: User Login - Username Token Successful for danny 2008-11-26 22:42:35.785 So what's going wrong? Thanks, Danny PS. I'm running wso2is with java 1.6
dkruitbosch's picture

Hi, The problem just

Hi, The problem just disappeared when I switched several times from and to the default identity store. Logging in works OK now. (Maybe some cache issue??) Thanks, Danny
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)