Interface ClientDetailsMapper

All Known Implementing Classes:
ClientDetailsMapperDecorator

public interface ClientDetailsMapper
Created by dverbeec on 7/09/2017.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.springframework.security.oauth2.provider.ClientDetails>
    clientDetailsDTOToClientDetails(List<org.radarbase.management.service.dto.ClientDetailsDTO> detailsDtoList)
     
    org.springframework.security.oauth2.provider.client.BaseClientDetails
    clientDetailsDTOToClientDetails(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.ClientDetailsDTO
    clientDetailsToClientDetailsDTO(org.springframework.security.oauth2.provider.ClientDetails details)
     
    default Set<String>
    map(Collection<org.springframework.security.core.GrantedAuthority> authorities)
    Map a collection of authorities represented as GrantedAuthoritys to a set of strings.
    default Map<String,String>
    map(Map<String,?> additionalInformation)
    Transforms the values in the input map to strings so the result is a Map.
    default Collection<org.springframework.security.core.GrantedAuthority>
    map(Set<String> authorities)
    Map a set of authorities represented as strings to a collection of GrantedAuthoritys.
  • Method Details

    • clientDetailsToClientDetailsDTO

      org.radarbase.management.service.dto.ClientDetailsDTO clientDetailsToClientDetailsDTO(org.springframework.security.oauth2.provider.ClientDetails details)
    • clientDetailsToClientDetailsDTO

      List<org.radarbase.management.service.dto.ClientDetailsDTO> clientDetailsToClientDetailsDTO(List<org.springframework.security.oauth2.provider.ClientDetails> detailsList)
    • clientDetailsDTOToClientDetails

      org.springframework.security.oauth2.provider.client.BaseClientDetails clientDetailsDTOToClientDetails(org.radarbase.management.service.dto.ClientDetailsDTO detailsDto)
    • clientDetailsDTOToClientDetails

      List<org.springframework.security.oauth2.provider.ClientDetails> clientDetailsDTOToClientDetails(List<org.radarbase.management.service.dto.ClientDetailsDTO> detailsDtoList)
    • map

      default Collection<org.springframework.security.core.GrantedAuthority> map(Set<String> authorities)
      Map a set of authorities represented as strings to a collection of GrantedAuthoritys.
      Parameters:
      authorities - the set of authorities to be mapped
      Returns:
      a collection of GrantedAuthoritys
    • map

      default Set<String> map(Collection<org.springframework.security.core.GrantedAuthority> authorities)
      Map a collection of authorities represented as GrantedAuthoritys to a set of strings.
      Parameters:
      authorities - the collection of GrantedAuthoritys to be mapped
      Returns:
      the set of strings
    • map

      default Map<String,String> map(Map<String,?> additionalInformation)
      Transforms the values in the input map to strings so the result is a Map.
      Parameters:
      additionalInformation - a Map to be transformed
      Returns:
      a new map with the same keys as the input map, but the values are strings