Interface ClientDetailsMapper
- All Known Implementing Classes:
ClientDetailsMapperDecorator
public interface ClientDetailsMapper
Created by dverbeec on 7/09/2017.
-
Method Summary
Modifier and TypeMethodDescriptionList<org.springframework.security.oauth2.provider.ClientDetails>clientDetailsDTOToClientDetails(List<org.radarbase.management.service.dto.ClientDetailsDTO> detailsDtoList) org.springframework.security.oauth2.provider.client.BaseClientDetailsclientDetailsDTOToClientDetails(org.radarbase.management.service.dto.ClientDetailsDTO detailsDto) List<org.radarbase.management.service.dto.ClientDetailsDTO>clientDetailsToClientDetailsDTO(List<org.springframework.security.oauth2.provider.ClientDetails> detailsList) org.radarbase.management.service.dto.ClientDetailsDTOclientDetailsToClientDetailsDTO(org.springframework.security.oauth2.provider.ClientDetails details) map(Collection<org.springframework.security.core.GrantedAuthority> authorities) Map a collection of authorities represented asGrantedAuthoritys to a set of strings.Transforms the values in the input map to strings so the result is aMap.default Collection<org.springframework.security.core.GrantedAuthority>Map a set of authorities represented as strings to a collection ofGrantedAuthoritys.
-
Method Details
-
clientDetailsToClientDetailsDTO
org.radarbase.management.service.dto.ClientDetailsDTO clientDetailsToClientDetailsDTO(org.springframework.security.oauth2.provider.ClientDetails details) -
clientDetailsToClientDetailsDTO
-
clientDetailsDTOToClientDetails
org.springframework.security.oauth2.provider.client.BaseClientDetails clientDetailsDTOToClientDetails(org.radarbase.management.service.dto.ClientDetailsDTO detailsDto) -
clientDetailsDTOToClientDetails
-
map
Map a set of authorities represented as strings to a collection ofGrantedAuthoritys.- Parameters:
authorities- the set of authorities to be mapped- Returns:
- a collection of
GrantedAuthoritys
-
map
Map a collection of authorities represented asGrantedAuthoritys to a set of strings.- Parameters:
authorities- the collection ofGrantedAuthoritys to be mapped- Returns:
- the set of strings
-
map
Transforms the values in the input map to strings so the result is aMap.- Parameters:
additionalInformation- aMapto be transformed- Returns:
- a new map with the same keys as the input map, but the values are strings
-