Class SimpleAuthenticationEncoder
java.lang.Object
org.springframework.core.codec.AbstractEncoder<UsernamePasswordMetadata>
org.springframework.security.rsocket.metadata.SimpleAuthenticationEncoder
- All Implemented Interfaces:
org.springframework.core.codec.Encoder<UsernamePasswordMetadata>
public class SimpleAuthenticationEncoder
extends org.springframework.core.codec.AbstractEncoder<UsernamePasswordMetadata>
Encodes Simple
Authentication.
- Since:
- 5.3
-
Field Summary
Fields inherited from class org.springframework.core.codec.AbstractEncoder
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer>
encode
(org.reactivestreams.Publisher<? extends UsernamePasswordMetadata> inputStream, org.springframework.core.io.buffer.DataBufferFactory bufferFactory, org.springframework.core.ResolvableType elementType, org.springframework.util.MimeType mimeType, Map<String, Object> hints) org.springframework.core.io.buffer.DataBuffer
encodeValue
(UsernamePasswordMetadata credentials, org.springframework.core.io.buffer.DataBufferFactory bufferFactory, org.springframework.core.ResolvableType valueType, org.springframework.util.MimeType mimeType, Map<String, Object> hints) Methods inherited from class org.springframework.core.codec.AbstractEncoder
canEncode, getEncodableMimeTypes, getLogger, setLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.core.codec.Encoder
getEncodableMimeTypes
-
Constructor Details
-
SimpleAuthenticationEncoder
public SimpleAuthenticationEncoder()
-
-
Method Details
-
encode
public reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> encode(org.reactivestreams.Publisher<? extends UsernamePasswordMetadata> inputStream, org.springframework.core.io.buffer.DataBufferFactory bufferFactory, org.springframework.core.ResolvableType elementType, org.springframework.util.MimeType mimeType, Map<String, Object> hints) -
encodeValue
public org.springframework.core.io.buffer.DataBuffer encodeValue(UsernamePasswordMetadata credentials, org.springframework.core.io.buffer.DataBufferFactory bufferFactory, org.springframework.core.ResolvableType valueType, org.springframework.util.MimeType mimeType, Map<String, Object> hints)
-