Configure connection support for spring social in XML

I work spring mvc which integrated spring social. I can not understand the following configuration, which is provided by the user manual in

http://static.springsource.org/spring-social/docs/1.0.x/reference/html/connecting.html (4.2.1 Setting up connection support in XML)

<bean id="connectionRepository" factory-method="createConnectionRepository" factory-bean="usersConnectionRepository" scope="request"> <constructor-arg value="#{request.userPrincipal.name}" /> 

What does this mean: "# {request.userPrincipal.name}" or what is its meaning. please, help.

+2
source share
1 answer

Similar to Spring EL - Expression .

Nerveless in the reference documentation does not mention request as a special variable in spring el. But this in no way means: can I not look at the right places or is this another poorly documented function.


See slides : this is really a spring EL expression.

0
source

All Articles