Class AuthorizationCodeService

java.lang.Object
org.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices
de.hybris.platform.oauth2.AuthorizationCodeService
All Implemented Interfaces:
org.springframework.security.oauth2.provider.code.AuthorizationCodeServices

public class AuthorizationCodeService extends org.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices
Persists authorization codes in the database
  • Constructor Details

    • AuthorizationCodeService

      public AuthorizationCodeService()
  • Method Details

    • createAuthorizationCode

      public String createAuthorizationCode(org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
      Specified by:
      createAuthorizationCode in interface org.springframework.security.oauth2.provider.code.AuthorizationCodeServices
      Overrides:
      createAuthorizationCode in class org.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices
    • store

      protected void store(String code, org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
      Specified by:
      store in class org.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices
    • remove

      protected org.springframework.security.oauth2.provider.OAuth2Authentication remove(String code)
      Specified by:
      remove in class org.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices
    • setModelService

      public void setModelService(ModelService modelService)
    • setFlexibleSearchService

      public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)