- java.lang.Object
-
- swim.actor.ActorAuthenticator
-
- All Implemented Interfaces:
swim.api.auth.AuthenticatorContext,swim.io.IpInterface,swim.util.Log
public class ActorAuthenticator extends Object implements swim.api.auth.AuthenticatorContext
-
-
Field Summary
Fields Modifier and Type Field Description protected static intSTARTEDprotected static AtomicIntegerFieldUpdater<ActorAuthenticator>STATUS
-
Constructor Summary
Constructors Constructor Description ActorAuthenticator(String authenticatorName, swim.api.auth.Authenticator authenticator, swim.kernel.KernelContext kernel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description swim.api.auth.Authenticatorauthenticator()StringauthenticatorName()swim.io.IpServiceRefbindTcp(InetSocketAddress localAddress, swim.io.IpService service, swim.io.IpSettings ipSettings)swim.io.IpServiceRefbindTls(InetSocketAddress localAddress, swim.io.IpService service, swim.io.IpSettings ipSettings)swim.io.IpSocketRefconnectTcp(InetSocketAddress remoteAddress, swim.io.IpSocket socket, swim.io.IpSettings ipSettings)swim.io.IpSocketRefconnectTls(InetSocketAddress remoteAddress, swim.io.IpSocket socket, swim.io.IpSettings ipSettings)voiddebug(Object message)protected voiddidStart()protected voiddidStop()voiderror(Object message)voidfail(Object message)voidinfo(Object message)swim.io.IpSettingsipSettings()swim.kernel.KernelContextkernel()swim.concurrent.Scheduleschedule()swim.concurrent.Stagestage()voidstart()voidstop()voidtrace(Object message)voidwarn(Object message)protected voidwillStart()protected voidwillStop()
-
-
-
Field Detail
-
STARTED
protected static final int STARTED
- See Also:
- Constant Field Values
-
STATUS
protected static final AtomicIntegerFieldUpdater<ActorAuthenticator> STATUS
-
-
Constructor Detail
-
ActorAuthenticator
public ActorAuthenticator(String authenticatorName, swim.api.auth.Authenticator authenticator, swim.kernel.KernelContext kernel)
-
-
Method Detail
-
authenticatorName
public final String authenticatorName()
-
schedule
public swim.concurrent.Schedule schedule()
- Specified by:
schedulein interfaceswim.api.auth.AuthenticatorContext
-
stage
public final swim.concurrent.Stage stage()
- Specified by:
stagein interfaceswim.api.auth.AuthenticatorContext
-
kernel
public final swim.kernel.KernelContext kernel()
-
authenticator
public final swim.api.auth.Authenticator authenticator()
-
ipSettings
public swim.io.IpSettings ipSettings()
- Specified by:
ipSettingsin interfaceswim.io.IpInterface
-
bindTcp
public swim.io.IpServiceRef bindTcp(InetSocketAddress localAddress, swim.io.IpService service, swim.io.IpSettings ipSettings)
- Specified by:
bindTcpin interfaceswim.io.IpInterface
-
bindTls
public swim.io.IpServiceRef bindTls(InetSocketAddress localAddress, swim.io.IpService service, swim.io.IpSettings ipSettings)
- Specified by:
bindTlsin interfaceswim.io.IpInterface
-
connectTcp
public swim.io.IpSocketRef connectTcp(InetSocketAddress remoteAddress, swim.io.IpSocket socket, swim.io.IpSettings ipSettings)
- Specified by:
connectTcpin interfaceswim.io.IpInterface
-
connectTls
public swim.io.IpSocketRef connectTls(InetSocketAddress remoteAddress, swim.io.IpSocket socket, swim.io.IpSettings ipSettings)
- Specified by:
connectTlsin interfaceswim.io.IpInterface
-
start
public void start()
-
stop
public void stop()
-
willStart
protected void willStart()
-
didStart
protected void didStart()
-
willStop
protected void willStop()
-
didStop
protected void didStop()
-
trace
public void trace(Object message)
- Specified by:
tracein interfaceswim.util.Log
-
debug
public void debug(Object message)
- Specified by:
debugin interfaceswim.util.Log
-
info
public void info(Object message)
- Specified by:
infoin interfaceswim.util.Log
-
warn
public void warn(Object message)
- Specified by:
warnin interfaceswim.util.Log
-
error
public void error(Object message)
- Specified by:
errorin interfaceswim.util.Log
-
fail
public void fail(Object message)
- Specified by:
failin interfaceswim.util.Log
-
-