Or is this a problem with the packaging of IS v1.5 ?

I do see those claims in conf/initial-claims.xml
     <ClaimType Uri="http://schema.openid.net/2007/05/claims/identifier";>
                        <DisplayTag>OpenID</DisplayTag>
                        <Description>OpenID</Description>
     </ClaimType>

But they do _not_ appear in the UI. Even when doing a complete fresh IS
installation. (as downloaded from
http://dist.wso2.org/products/solutions/identity/wso2-identity-solution-1.5.zip
)

Is there something in the zips   databases/*  directory that is not correct
?

(on debian linux)

Regards,
Harm

---------- Forwarded message ----------
From: Harm Verhagen <[email protected]>
Date: Tue, Jan 6, 2009 at 4:41 PM
Subject: ldap connection issues
To: [email protected]


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.actionManage->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.actionManage->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-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/identity-dev

Reply via email to