Re: [Identity-dev] [Identity-user] ldap connection issues OK. So how can I generate an openID for an existing useraccount Claire thats lives in openLDAP ? What will be the openID URL ?
Is it planned that user registration is supported through LDAP ? Regards, Harm > Today's Topics: > > 1. Re: [Identity-user] ldap connection issues (Prabath Siriwardena) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 06 Jan 2009 21:36:59 +0530 > From: Prabath Siriwardena <[email protected]> > Subject: Re: [Identity-dev] [Identity-user] ldap connection issues > To: [email protected], [email protected] > Cc: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi; > > With LDAPRealm, the expectation is that an existing user base is exposed > to Identity Solution - where OpenIDs and InfoCards can be issued to those. > > User registration is *not* supported through the LDAPRealm - via > Identity Solution - so "Allow User Registration" needs to be disabled. > > Thanks & regards. > - Prabath > > > Harm Verhagen wrote: > > Hi, > > > > I playing around with wso2-identity 1.5 > > I'm trying to connect it to a test ldap server (open ldap). > > > > I'm seeing problems whever I either: > > - try to log in, while "Allow User Registration :" is enabled in the > > User manager admin interface > > - I try to "register a new user". > > > > I _am_ able to login with every user in the LDAP server only when > > "Allow User Registration" is disabled. > > > > Do you know what causes this. > > > > I have an LDAP server with user: Claire password: test > > > > problem 1: login whehn "allow User registration" is enabled > > *steps to reproduce* > > 1 Use ldap realm, have open ldap server running. > > 2. make sure that in > > https://server:12443/admin/ShowUserManagement.action > > Manage->users->Allow user registration is enabled > > 3 browse to > > https://server/https://openid.boosttechhouse.com:12443/ShowLogin.action > > and login with "Claire" > > > > *result* > > > > *type* Exception report > > > > *message* > > > > *description* _The server encountered an internal error () that > > prevented it from fulfilling this request._ > > > > *exception* > > > > javax.servlet.ServletException: > org.wso2.usermanager.custom.ldap.LDAPRealm > > > > > 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) > > > > > > > > *root cause* > > > > java.lang.ClassCastException: org.wso2.usermanager.custom.ldap.LDAPRealm > > > org.wso2.solutions.identity.user.ui.action.ShowMainAction.execute(ShowMainAction.java:138) > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > java.lang.reflect.Method.invoke(Method.java:585) > > > > > com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404) > > > com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:267) > > > com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229) > > > > > com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221) > > > com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) > > > > > com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224) > > > com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223) > > > com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) > > > > ... > > > com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) > > > > > > > > problem 2: register new user > > *steps to reproduce* > > 1 Use ldap realm, have open ldap server running. > > 2. make sure that in > > https://server:12443/admin/ShowUserManagement.action > > Manage->users->Allow user registration is enabled > > 3 browse to > > https://server/https://openid.boosttechhouse.com:12443/ShowLogin.action > > click register new user. > > 4. enter newuser, passwd:test , hit submit > > * > > result* > > > > *type* Exception report > > > > *message* > > > > *description* _The server encountered an internal error () that > > prevented it from fulfilling this request._ > > > > *exception* > > > > javax.servlet.ServletException: Can't find resource for bundle > java.util.PropertyResourceBundle, key actionNotSupportedByRealm > > > > > 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) > > > > > > > > *root cause* > > > > java.util.MissingResourceException: Can't find resource for bundle > java.util.PropertyResourceBundle, key actionNotSupportedByRealm > > java.util.ResourceBundle.getObject(ResourceBundle.java:325) > > > > java.util.ResourceBundle.getString(ResourceBundle.java:285) > > org.wso2.usermanager.i18n.Messages.getMessage(Messages.java:47) > > > org.wso2.usermanager.UserManagerException.<init>(UserManagerException.java:33) > > > > > org.wso2.usermanager.UserManagerException.<init>(UserManagerException.java:38) > > > org.wso2.usermanager.custom.ldap.LDAPRealm.getUserStoreAdmin(LDAPRealm.java:97) > > > org.wso2.solutions.identity.user.ui.action.UserRegistrationFormSubmitAction.execute(UserRegistrationFormSubmitAction.java:135) > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > java.lang.reflect.Method.invoke(Method.java:585) > > > com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404) > > > com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java > > > > ..... > > > > > > > > Regards, > > Harm > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Identity-user mailing list > > [email protected] > > https://wso2.org/cgi-bin/mailman/listinfo/identity-user > > > > ------------------------------------------------------------------------ > > > > > > No virus found in this incoming message. > > Checked by AVG - http://www.avg.com > > Version: 8.0.176 / Virus Database: 270.10.3/1877 - Release Date: 1/5/2009 > 7:20 PM > > > > > > > > > ------------------------------ > > _______________________________________________ > Identity-dev mailing list > [email protected] > https://wso2.org/cgi-bin/mailman/listinfo/identity-dev > > > End of Identity-dev Digest, Vol 24, Issue 3 > ******************************************* >
_______________________________________________ Identity-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/identity-dev
