Class BasicAuthenticationEncoder

java.lang.Object
org.springframework.core.codec.AbstractEncoder<UsernamePasswordMetadata>
org.springframework.security.rsocket.metadata.BasicAuthenticationEncoder
All Implemented Interfaces:
org.springframework.core.codec.Encoder<UsernamePasswordMetadata>

@Deprecated public class BasicAuthenticationEncoder extends org.springframework.core.codec.AbstractEncoder<UsernamePasswordMetadata>
Deprecated.
Basic Authentication did not evolve into a standard. use SimpleAuthenticationEncoder
Since:
5.2
  • Field Summary

    Fields inherited from class org.springframework.core.codec.AbstractEncoder

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
    Deprecated.
     
    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)
    Deprecated.
     

    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

    • BasicAuthenticationEncoder

      public BasicAuthenticationEncoder()
      Deprecated.
  • 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)
      Deprecated.
    • 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)
      Deprecated.