We just found the solution and wanted to share it... In this case the namespace-config (we think) does not work... but you can do it manually on your own (or with java-config)... the simple part was:...
Type: Posts; User: sruch; Keyword(s):
We just found the solution and wanted to share it... In this case the namespace-config (we think) does not work... but you can do it manually on your own (or with java-config)... the simple part was:...
Hi all,
I am new to Spring AMQP playing arround with RabbitMQ. Just studied some examples from a talk of Rob (http://www.infoq.com/presentations/Multi-Platform-Messaging-with-RabbitMQ) in france...
Rob,
No problem... after spoking to Mike (Wiesner) yesterday I decided to implement a special LoginUrlAuthenticationEntryPoint which itself controlls the flow in the login case. If the check...
Rob,
It's a long tail of a long story... in short... we implemented an OpenId-Provider based on JOS (Java OpenID Server) for a customer. Basic idea behind, provide a single login-infrastructure for...
The goal is to provide a "auto-login" functionality to the enduser.
This means that if the user enters the first time to the application the webapp has to check with checkid_immediate whether the...
Hi all,
We are currently implementing an OpenId-Relying-Party with Spring Security and use the standard OpenIdFilter of Spring for the "normal" case of authentication. Now the customer wishes to...
No... this is not Spring 3.1... we use Spring since version 0.89 so we needed this functionality years before Spring 3.1... :-)
Please find the complete example in the attached zip...
Not sure if I understand your problem correctly... we've created a environment dependent factory bean which itself creates the Properties (for dev, test, qual, prod, etc.)... which one is dependent...
No... it is a static class with a static accessor... just use:
...
Locale myLocale = LocaleContextHolder.getLocale();
...
Hi,
Well... as far as I know there is a ThreadLocal-Variable called LocaleContextHolder or something like that which is managed by the Spring-Dispatcher-Servlet. So you have at least two easy...
... or at least I don't understand the Javadoc in the QualifierAnnotationAutowireCandidateResolver class...
* {@link AutowireCandidateResolver} implementation that matches bean definition...
Hi all,
Is there already a way to use @Qualifier with a property as its value which is resolved by runtime?
Example:
@Qualifier("${myBeanRef}")
Thanks and regards,
Sandro
Hi,
Well, it may be only a design question but... can somebody explain, why this token-class and also the corresponding provider is in the web package?
Why the question... well... I have the...
Hi Costin,
Well yes... as stated in the first post for me it's not clear how to configure such a component within the spring context. For cache regions there is a spring factory bean where you can...
Hi all,
We are currently experimenting with spring gemfire and are looking for an example with write-behind functionality. Loader and writer we have successfully tested but not the write-behind...
Hi,
I'm currently facing the problem that the behaviour of the UserDetailsChecker in the RememberMe-Case (AbstractRememberMeServices) cannot be configured like in the DaoAuthenticationProvider....
Thanks Jürgen for clarification... :-)
http://jira.springframework.org/browse/SPR-6847
Hi Marten,
Well... what's the difference to the other annotation based configuration? For example if you cannot distinguish by type you can use @Qualifier("someBean") to make it clear... so...
Hi all,
Is it possible to have multiple executor in a spring application? In the spring documentation I only see:
<task:annotation-driven executor="myExecutor" scheduler="myScheduler"/>...
Hi,
May be this is not the correct thread but currently the maven builder seams to be really "shaky"... since today I have the problem that the maven dependencies are no longer in the Java EE...
Hi Costin,
Well... till now we are looking for a possibility to get the bundleContext witin the Sling application. I just wanted to be sure to look at the right place. I got the code snippet from...
Hi all,
I am looking for an approach to load a application context (OsgiBundleXmlApplicationContext or OsgiBundleXmlWebApplicationContext) within a sling serlvlet running inside Apache Felix.
...
When i meant "test-case" i was a little bit vague... :-) It's not a unit-test since in the unit-test i have no osgi context...
The test.zip contains maven test-projects.
- test_common (bundle with...
Of course... :-)
I have submitted the test-case (test.zip) whith a working test and the resulting trace-log...
cheers,
Sandro
Hi all,
We get always unresolvable circular reference errors in the case we reference aspects directly to osgi-reference. Just for clarification:
- generalAspect.jar (bundle with aspects)
-...