Module swim.api
Package swim.api.auth

Class AbstractAuthenticator

java.lang.Object
swim.api.auth.AbstractAuthenticator
All Implemented Interfaces:
Authenticator, swim.io.IpInterface, swim.util.Log

public abstract class AbstractAuthenticator extends Object implements Authenticator, swim.io.IpInterface, swim.util.Log
  • Field Details

  • Constructor Details

    • AbstractAuthenticator

      public AbstractAuthenticator()
  • Method Details

    • authenticatorContext

      public AuthenticatorContext authenticatorContext()
      Specified by:
      authenticatorContext in interface Authenticator
    • setAuthenticatorContext

      public void setAuthenticatorContext(AuthenticatorContext context)
      Specified by:
      setAuthenticatorContext in interface Authenticator
    • schedule

      public swim.concurrent.Schedule schedule()
    • stage

      public swim.concurrent.Stage stage()
    • ipSettings

      public swim.io.IpSettings ipSettings()
      Specified by:
      ipSettings in interface swim.io.IpInterface
    • bindTcp

      public swim.io.IpServiceRef bindTcp(InetSocketAddress localAddress, swim.io.IpService service, swim.io.IpSettings ipSettings)
      Specified by:
      bindTcp in interface swim.io.IpInterface
    • bindTls

      public swim.io.IpServiceRef bindTls(InetSocketAddress localAddress, swim.io.IpService service, swim.io.IpSettings ipSettings)
      Specified by:
      bindTls in interface swim.io.IpInterface
    • connectTcp

      public swim.io.IpSocketRef connectTcp(InetSocketAddress remoteAddress, swim.io.IpSocket socket, swim.io.IpSettings ipSettings)
      Specified by:
      connectTcp in interface swim.io.IpInterface
    • connectTls

      public swim.io.IpSocketRef connectTls(InetSocketAddress remoteAddress, swim.io.IpSocket socket, swim.io.IpSettings ipSettings)
      Specified by:
      connectTls in interface swim.io.IpInterface
    • authenticate

      public abstract PolicyDirective<Identity> authenticate(Credentials credentials)
      Specified by:
      authenticate in interface Authenticator
    • trace

      public void trace(Object message)
      Specified by:
      trace in interface swim.util.Log
    • debug

      public void debug(Object message)
      Specified by:
      debug in interface swim.util.Log
    • info

      public void info(Object message)
      Specified by:
      info in interface swim.util.Log
    • warn

      public void warn(Object message)
      Specified by:
      warn in interface swim.util.Log
    • error

      public void error(Object message)
      Specified by:
      error in interface swim.util.Log
    • fail

      public void fail(Object message)
      Specified by:
      fail in interface swim.util.Log
    • willStart

      public void willStart()
      Specified by:
      willStart in interface Authenticator
    • didStart

      public void didStart()
      Specified by:
      didStart in interface Authenticator
    • willStop

      public void willStop()
      Specified by:
      willStop in interface Authenticator
    • didStop

      public void didStop()
      Specified by:
      didStop in interface Authenticator
    • didFail

      public void didFail(Throwable error)
      Specified by:
      didFail in interface Authenticator