added implicit beans

pull/105/merge
Justin Richer 13 years ago
parent 01793ec57f
commit e5eb2e03d8

@ -52,23 +52,17 @@
<property name="realmName" value="openidconnect" />
</bean>
<!-- Now using default SECOAUTH token granter -->
<bean id="authCodeTokenGranter" class="org.springframework.security.oauth2.provider.code.AuthorizationCodeTokenGranter">
<constructor-arg name="tokenServices" ref="defaultOAuth2ProviderTokenService"/>
<constructor-arg name="authorizationRequestFactory" ref="authorizationRequestFactory"/>
<constructor-arg name="authorizationCodeServices" ref="authCodeServices"/>
</bean>
<!-- SECOAUTH Authorization Server -->
<oauth:authorization-server
client-details-service-ref="defaultOAuth2ClientDetailsEntityService"
authorization-request-factory-ref="authorizationRequestFactory"
token-services-ref="defaultOAuth2ProviderTokenService"
token-granter-ref="authCodeTokenGranter"
user-approval-handler-ref="userApprovalHandler"
authorization-endpoint-url="/openidconnect/auth"
token-endpoint-url="/openidconnect/token">
<oauth:authorization-code authorization-code-services-ref="authCodeServices" />
<oauth:authorization-code />
<oauth:implicit />
</oauth:authorization-server>

Loading…
Cancel
Save