Package org.motechproject.mots.security
Class CustomTokenEnhancer
- java.lang.Object
-
- org.motechproject.mots.security.CustomTokenEnhancer
-
- All Implemented Interfaces:
org.springframework.security.oauth2.provider.token.TokenEnhancer
@Component public class CustomTokenEnhancer extends java.lang.Object implements org.springframework.security.oauth2.provider.token.TokenEnhancer
-
-
Constructor Summary
Constructors Constructor Description CustomTokenEnhancer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.oauth2.common.OAuth2AccessToken
enhance(org.springframework.security.oauth2.common.OAuth2AccessToken accessToken, org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
-
-
-
Method Detail
-
enhance
public org.springframework.security.oauth2.common.OAuth2AccessToken enhance(org.springframework.security.oauth2.common.OAuth2AccessToken accessToken, org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
- Specified by:
enhance
in interfaceorg.springframework.security.oauth2.provider.token.TokenEnhancer
-
-