Package | Description |
---|---|
org.elkoserver.foundation.actor |
Elko server classes representing entities with remote connections to a server.
|
org.elkoserver.foundation.server |
Core common server implementation classes for Elko.
|
org.elkoserver.foundation.server.metadata |
Metadata objects used in the management of Elko servers and communicated
between them.
|
org.elkoserver.server.context |
The Elko Context Server.
|
org.elkoserver.server.workshop |
The Elko Workshop Server.
|
Modifier and Type | Method and Description |
---|---|
void |
BasicProtocolHandler.auth(BasicProtocolActor from,
AuthDesc auth,
OptString label)
JSON method for the 'auth' message.
|
boolean |
BasicProtocolActor.doAuth(BasicProtocolHandler handler,
AuthDesc auth,
String label)
Authorize (or refuse authorization for) a connection for this actor.
|
static JSONLiteral |
Actor.msgAuth(Referenceable target,
AuthDesc auth,
String label)
Create an 'auth' message.
|
static JSONLiteral |
Actor.msgAuth(String target,
AuthDesc auth,
String label)
Create an 'auth' message.
|
Modifier and Type | Method and Description |
---|---|
MessageHandlerFactory |
ServiceFactory.provideFactory(String label,
AuthDesc auth,
Set<String> allow,
List<String> serviceNames,
String protocol)
Provide a message handler factory for a new listener.
|
Modifier and Type | Field and Description |
---|---|
static AuthDesc |
AuthDesc.theOpenAuth
Singleton open authorization descriptor.
|
Modifier and Type | Method and Description |
---|---|
AuthDesc |
ServiceDesc.auth()
Get this service's authorization configuration.
|
AuthDesc |
HostDesc.auth()
Get this host's authorization information.
|
static AuthDesc |
AuthDesc.fromProperties(BootProperties props,
String propRoot,
Trace appTrace)
Produce an AuthDesc object from information contained in the server
configuration properties.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AuthDesc.verify(AuthDesc auth)
Check an authorization.
|
Constructor and Description |
---|
HostDesc(String protocol,
boolean isSecure,
String hostPort,
AuthDesc auth,
int retryInterval,
boolean dontLog)
Constructor.
|
ServiceDesc(String service,
OptString hostport,
OptString protocol,
OptString label,
AuthDesc auth,
OptString failure,
OptInteger providerID)
JSON-driven constructor.
|
ServiceDesc(String service,
String hostport,
String protocol,
String label,
AuthDesc auth,
String failure,
int providerID)
Direct constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
InternalActor.doAuth(BasicProtocolHandler handler,
AuthDesc auth,
String label)
Do the actual work of authorizing an actor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
WorkshopActor.doAuth(BasicProtocolHandler handler,
AuthDesc auth,
String label)
Do the actual work of authorizing an actor.
|
Copyright © 2017. All rights reserved.