Class HttpBasicServerAuthenticationEntryPoint

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      reactor.core.publisher.Mono<java.lang.Void> commence​(org.springframework.web.server.ServerWebExchange exchange, org.springframework.security.core.AuthenticationException ex)
      Initiates the authentication flow
      void setRealm​(java.lang.String realm)
      Sets the realm to be used
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpBasicServerAuthenticationEntryPoint

        public HttpBasicServerAuthenticationEntryPoint()
    • Method Detail

      • commence

        public reactor.core.publisher.Mono<java.lang.Void> commence​(org.springframework.web.server.ServerWebExchange exchange,
                                                                    org.springframework.security.core.AuthenticationException ex)
        Description copied from interface: ServerAuthenticationEntryPoint
        Initiates the authentication flow
        Specified by:
        commence in interface ServerAuthenticationEntryPoint
        Returns:
        Mono<Void> to indicate when the request for authentication is complete
      • setRealm

        public void setRealm​(java.lang.String realm)
        Sets the realm to be used
        Parameters:
        realm - the realm. Default is "Realm"