Class DefaultAuthorizationCodeServices

  • All Implemented Interfaces:
    org.springframework.security.oauth2.provider.code.AuthorizationCodeServices

    public class DefaultAuthorizationCodeServices
    extends org.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices
    Implementation of AuthorizationCodeServices that better handles our AuthCode domain compared to the Spring provided JdbcAuthorizationCodeServices.
    Author:
    Nick Crum (ncrum)
    • Constructor Detail

      • DefaultAuthorizationCodeServices

        public DefaultAuthorizationCodeServices​(AuthCodeRepository authCodeRepository,
                                                com.broadleafcommerce.common.extension.TypeFactory typeFactory)
    • Method Detail

      • 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

        @Nullable
        protected org.springframework.security.oauth2.provider.OAuth2Authentication remove​(String code)
        Specified by:
        remove in class org.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices