Hi;

Acting as an OpenID Provider and User Management are two different aspects.

Identity Solution ships with IdentityDefaultRealm - which connects to 
default database ships with IS.

So - it gives you a complete solution out of the box - where it can act 
as an OP against the default user base.

If you are connecting to a different user base - then the use 
registration is out of the scope of IS.

In practice - if you already have an user base - you also have means of 
user registration - and it's not the expectation to delegate user 
registration to IS.

Thanks & regards.
- Prabath

Harm Verhagen wrote:
> one more question.
> I see that new user registeration only seems to work with 
> IdentityDefaultRealm.
> So not WSASRealm, not .JDBCRealm, not .LDAPRealm. Is that correct ?
>
> So hows wso2-identy suppose to act as openid provider etc. for those 
> accounts in those Realms?
>
> Regards,
> Harm
>
> On Wed, Jan 7, 2009 at 10:00 AM, Harm Verhagen 
> <[email protected] <mailto:[email protected]>> wrote:
>
>
>
>     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
>
>
>     On Tue, Jan 6, 2009 at 9:00 PM, <[email protected]
>     <mailto:[email protected]>> wrote:
>
>         Send Identity-dev mailing list submissions to
>                [email protected] <mailto:[email protected]>
>
>         To subscribe or unsubscribe via the World Wide Web, visit
>                https://wso2.org/cgi-bin/mailman/listinfo/identity-dev
>         or, via email, send a message with subject or body 'help' to
>                [email protected]
>         <mailto:[email protected]>
>
>         You can reach the person managing the list at
>                [email protected]
>         <mailto:[email protected]>
>
>         When replying, please edit your Subject line so it is more
>         specific
>         than "Re: Contents of Identity-dev digest..."
>
>
>         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]
>         <mailto:[email protected]>>
>         Subject: Re: [Identity-dev] [Identity-user] ldap connection issues
>         To: [email protected] <mailto:[email protected]>,
>         [email protected] <mailto:[email protected]>
>         Cc: [email protected] <mailto:[email protected]>
>         Message-ID: <[email protected]
>         <mailto:[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] <mailto:[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] <mailto:[email protected]>
>         https://wso2.org/cgi-bin/mailman/listinfo/identity-dev
>
>
>         End of Identity-dev Digest, Vol 24, Issue 3
>         *******************************************
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/1879 - Release Date: 1/6/2009 
> 5:16 PM
>
>   


_______________________________________________
Identity-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/identity-dev

Reply via email to