Greetings
I am working on OAuth M6. I am trying to use a custom tokenservices class (which extends RandomValueTokenServices) for implicit token type, which for some reasons is not working for this token type. It seems to go to the DefaultTokenServices. Although the same is working for authorization code token. My configuration looks like:
I will appreciate any help on this.Code:<oauth:authorization-server client-details-service-ref="clientDetailsService" token-services-ref="tokenServices" serialization-service-ref="trOAuth2SerializatonService" > <oauth:authorization-code authorization-code-services-ref="authorizationCodeServices" /> <oauth:implicit /> <oauth:refresh-token /> <oauth:client-credentials /> <oauth:password /> </oauth:authorization-server> <beans:bean id="tokenServices" class="com.thomsonreuters.oauth.authzserver.springsecurity.oauth2.provider.token.TrRandomValueTokenServices"> <beans:property name="tokenStore" ref="myTokenStore"/> <beans:property name="accessTokenValiditySeconds"> <util:constant static-field="java.lang.Integer.MAX_VALUE"/> </beans:property> </beans:bean>
Thanks,
Sam


Reply With Quote