Class DefaultAuthenticationAttributesConverter
java.lang.Object
com.broadleafcommerce.oauth2.resource.security.token.converter.DefaultAuthenticationAttributesConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<org.springframework.security.core.Authentication,
Map<String, Object>>
public class DefaultAuthenticationAttributesConverter
extends Object
implements org.springframework.core.convert.converter.Converter<org.springframework.security.core.Authentication,Map<String,Object>>
Default implementation of
Converter
that is used for extracting the a map of attributes
from an Authentication
.
In particular, this implementation expects a BearerTokenAuthentication
and returns the
token attributes from it.
- Author:
- Nick Crum (ncrum)
-
Constructor Details
-
DefaultAuthenticationAttributesConverter
public DefaultAuthenticationAttributesConverter()
-
-
Method Details