use of org.springframework.messaging.rsocket.DefaultMetadataExtractor in project spring-security by spring-projects.
the class AuthenticationPayloadExchangeConverter method createDefaultExtractor.
private static MetadataExtractor createDefaultExtractor() {
DefaultMetadataExtractor result = new DefaultMetadataExtractor(new ByteArrayDecoder());
result.metadataToExtract(AUTHENTICATION_MIME_TYPE, byte[].class, "authentication");
return result;
}
Aggregations