Class DefaultAuthorizationCodeServices
- java.lang.Object
-
- org.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices
-
- com.broadleafcommerce.auth.security.service.DefaultAuthorizationCodeServices
-
- All Implemented Interfaces:
org.springframework.security.oauth2.provider.code.AuthorizationCodeServices
public class DefaultAuthorizationCodeServices extends org.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServicesImplementation ofAuthorizationCodeServicesthat better handles ourAuthCodedomain compared to the Spring providedJdbcAuthorizationCodeServices.- Author:
- Nick Crum (ncrum)
-
-
Constructor Summary
Constructors Constructor Description DefaultAuthorizationCodeServices(AuthCodeRepository authCodeRepository, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.security.oauth2.provider.OAuth2Authenticationremove(String code)protected voidstore(String code, org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
-
-
-
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:
storein classorg.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices
-
remove
@Nullable protected org.springframework.security.oauth2.provider.OAuth2Authentication remove(String code)
- Specified by:
removein classorg.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices
-
-