Skip to content

Commit b8084c5

Browse files
authored
Merge pull request #6729 from ORCID/InternalAPI_useCustomCredentialsEndpointDelegator
The internal API should use InternalClientCredentialEndPointDelegator…
2 parents 9ae6640 + 3be763f commit b8084c5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

orcid-internal-api/src/main/resources/orcid-internal-api-security-context.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,10 @@
9898
</constructor-arg>
9999
</bean>
100100

101+
<!-- Internal endpoint delegator that will allow creating internal tokens such as /orcid-internal and /orcid-internal/person/last_modified -->
102+
<bean id="orcidClientCredentialEndPointDelegator" class="org.orcid.internal.server.delegator.impl.InternalClientCredentialEndPointDelegatorImpl">
103+
<property name="tokenGranter" ref="tokenGranter"/>
104+
<property name="clientDetailsService" ref="clientDetailsManager"/>
105+
</bean>
106+
101107
</beans>

0 commit comments

Comments
 (0)