You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Alan D. Cabrera" <li...@toolazydogs.com> on 2015/03/15 18:07:23 UTC

Apache Syncope - where to start to learn?

I’ve setup the standalone sever and I am not sure where to proceed from here.

My modest goal is to mange LDAP and a subversion file to keep them logically in sync.

I can’t find where in the documentation I should start.  Is there a getting started tutorial?  The getting started pages on the wiki seem to be oriented toward installing the server; maybe I missed a page.


Regards,
Alan


Re: Apache Syncope - where to start to learn?

Posted by Fabio Martelli <fa...@gmail.com>.
Il 15/03/2015 18:07, Alan D. Cabrera ha scritto:
> I’ve setup the standalone sever and I am not sure where to proceed from here.
>
> My modest goal is to mange LDAP and a subversion file to keep them logically in sync.
>
> I can’t find where in the documentation I should start.  Is there a getting started tutorial?  The getting started pages on the wiki seem to be oriented toward installing the server; maybe I missed a page.
>
>
> Regards,
> Alan
>
Hi Alan, you can start getting some basic concept at [1], [2] and [3].
Then you could go through [4] for some details about external resources 
configuration.

For advanced concepts, take a look at [5] about propagation an 
synchronization actions.

For some specific details about LDAP resource integration I can suggest 
you to go through [6].
More advanced concepts can be retrieved from [7]: this is a post about 
Apache Syncope 1.1.0 but I'm sure you will be able to map all the info 
on your currently used version.

Best regards,
F.

[1] 
https://cwiki.apache.org/confluence/display/SYNCOPE/Connectors+and+resources
[2] https://cwiki.apache.org/confluence/display/SYNCOPE/Provisioning
[3] https://cwiki.apache.org/confluence/display/SYNCOPE/Synchronization
[4] https://cwiki.apache.org/confluence/display/SYNCOPE/External+resources
[5] https://cwiki.apache.org/confluence/display/SYNCOPE/Extending+Syncope
[6] 
https://cwiki.apache.org/confluence/display/SYNCOPE/Configure+an+LDAP+resource
[7] http://blog.tirasa.net/unlock-full-ldap-features-in.html

-- 
Fabio Martelli

Tirasa - Open Source Excellence
http://www.tirasa.net/

Apache Syncope PMC
http://people.apache.org/~fmartelli/


Re: Apache Syncope - where to start to learn?

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 15/03/2015 19:37, Alan D. Cabrera wrote:
>> On Mar 15, 2015, at 10:07 AM, Alan D. Cabrera <li...@toolazydogs.com> wrote:
>>
>> I’ve setup the standalone sever and I am not sure where to proceed from here.

Alan,
if you intend to setup a real IdM project - as it seems for the other 
mail thread - I wouldn't suggest you to approach it via the standalone 
distribution: as reported in the download page, in fact, the standalone 
distribution is primarily meant for evaluation; given your specific 
requirements, I would instead go through archetype or installer.

Consider that with standalone distribution you get the configuration 
used for integration tests (including attribute schemas, workflow, 
users, roles, ...), and in-memory persistence (e.g. when stopping Tomcat 
everything is reset).

>> My modest goal is to mange LDAP and a subversion file to keep them logically in sync.

That's all but a modest goal, especially for first-time IdM ;-)
Anyway, I've seen Fabio providing you with a full pack of links to start 
with.

> I tried to self register and got this error:
>
> 10:21:55.434 ERROR org.apache.syncope.console.pages.AbstractBasePage - While creating or updating user
> javax.ws.rs.BadRequestException: HTTP 400 Bad Request

When reporting errors, please take also a look at core logs: often the 
actual error is on server-side (console is a pure REST-based client for 
core).

Anyway, I've just downloaded syncope-standalone-1.2.2-distribution.zip 
and followed instructions from [1], then attempted a self-registration, 
without any error.

Could you please indicate which information have you provided / selected 
in the self-registration window?

Regards.

[1] 
https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+standalone+distribution 


-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC
http://people.apache.org/~ilgrosso/



Re: Apache Syncope - where to start to learn?

Posted by "Alan D. Cabrera" <li...@toolazydogs.com>.
> On Mar 15, 2015, at 10:07 AM, Alan D. Cabrera <li...@toolazydogs.com> wrote:
> 
> I’ve setup the standalone sever and I am not sure where to proceed from here.
> 
> My modest goal is to mange LDAP and a subversion file to keep them logically in sync.
> 
> I can’t find where in the documentation I should start.  Is there a getting started tutorial?  The getting started pages on the wiki seem to be oriented toward installing the server; maybe I missed a page.

I tried to self register and got this error:

10:21:55.434 ERROR org.apache.syncope.console.pages.AbstractBasePage - While creating or updating user
javax.ws.rs.BadRequestException: HTTP 400 Bad Request
	at org.apache.syncope.client.rest.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:68) ~[syncope-client-1.2.2.jar:?]
	at org.apache.syncope.client.rest.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:39) ~[syncope-client-1.2.2.jar:?]
	at org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:302) ~[cxf-rt-rs-client-3.0.3.jar:3.0.3]
	at org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:725) ~[cxf-rt-rs-client-3.0.3.jar:3.0.3]
	at org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:683) ~[cxf-rt-rs-client-3.0.3.jar:3.0.3]
	at org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:224) ~[cxf-rt-rs-client-3.0.3.jar:3.0.3]
	at com.sun.proxy.$Proxy224.create(Unknown Source) ~[?:?]
	at org.apache.syncope.console.rest.UserSelfRestClient.create(UserSelfRestClient.java:51) ~[UserSelfRestClient.class:?]
	at WICKET_org.apache.syncope.console.rest.UserSelfRestClient$$FastClassByCGLIB$$fe266a9e.invoke(<generated>) ~[cglib-2.2.2.jar:?]
	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[cglib-2.2.2.jar:?]
	at org.apache.wicket.proxy.LazyInitProxyFactory$CGLibInterceptor.intercept(LazyInitProxyFactory.java:333) ~[wicket-ioc-6.18.0.jar:6.18.0]
	at WICKET_org.apache.syncope.console.rest.UserSelfRestClient$$EnhancerByCGLIB$$89773394.create(<generated>) ~[cglib-2.2.2.jar:?]
	at org.apache.syncope.console.pages.UserSelfModalPage.submitAction(UserSelfModalPage.java:57) ~[UserSelfModalPage.class:?]
	at org.apache.syncope.console.pages.UserModalPage$2.onSubmit(UserModalPage.java:204) ~[UserModalPage$2.class:?]
	at org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:108) ~[wicket-core-6.18.0.jar:6.18.0]
	at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$1.onSubmit(AjaxFormSubmitBehavior.java:182) ~[wicket-core-6.18.0.jar:6.18.0]
	at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1288) ~[wicket-core-6.18.0.jar:6.18.0]
	at org.apache.wicket.markup.html.form.Form.process(Form.java:952) ~[wicket-core-6.18.0.jar:6.18.0]
	at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:784) ~[wicket-core-6.18.0.jar:6.18.0]
	at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:159) ~[wicket-core-6.18.0.jar:6.18.0]
	at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:124) ~[wicket-core-6.18.0.jar:6.18.0]
	at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:633) ~[wicket-core-6.18.0.jar:6.18.0]
	at sun.reflect.GeneratedMethodAccessor301.invoke(Unknown Source) ~[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20]
	at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20]
	at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258) ~[wicket-core-6.18.0.jar:6.18.0]
	at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241) ~[wicket-core-6.18.0.jar:6.18.0]
	at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:250) ~[wicket-core-6.18.0.jar:6.18.0]
	at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:236) ~[wicket-core-6.18.0.jar:6.18.0]
	at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:862) ~[wicket-core-6.18.0.jar:6.18.0]
	at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) ~[wicket-request-6.18.0.jar:6.18.0]
	at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261) ~[wicket-core-6.18.0.jar:6.18.0]
	at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218) ~[wicket-core-6.18.0.jar:6.18.0]
	at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289) ~[wicket-core-6.18.0.jar:6.18.0]
	at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259) ~[wicket-core-6.18.0.jar:6.18.0]
	at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201) ~[wicket-core-6.18.0.jar:6.18.0]
	at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282) ~[wicket-core-6.18.0.jar:6.18.0]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) ~[catalina.jar:7.0.57]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) ~[catalina.jar:7.0.57]
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) ~[catalina.jar:7.0.57]
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) ~[catalina.jar:7.0.57]
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503) ~[catalina.jar:7.0.57]
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) ~[catalina.jar:7.0.57]
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) ~[catalina.jar:7.0.57]
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) ~[catalina.jar:7.0.57]
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) ~[catalina.jar:7.0.57]
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) ~[catalina.jar:7.0.57]
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070) ~[tomcat-coyote.jar:7.0.57]
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) ~[tomcat-coyote.jar:7.0.57]
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) ~[tomcat-coyote.jar:7.0.57]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_20]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_20]
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-coyote.jar:7.0.57]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_20]