public interface ServerAdmin
| Modifier and Type | Method and Description |
|---|---|
void |
connectionClosed(MessageConnection mc)
Informs that a transport connection has been closed.
|
MessageConnection |
connectionOpen(MessageConnection mc)
Tells that a new client is arrived and an
implementation of this method is called to verify this client,
for example, to do authentication, to add a encription level to secure
the connection etc.
|
Subject |
getSubject(MessageConnection mc)
Returns an
javax.security.auth.Subject object used for a server to authorize any request from the specified connection. |
MessageConnection connectionOpen(MessageConnection mc) throws IOException
mc - an MessageConnection object which has
been established.MessageConnection object enhansed.IOException - Any of the usual Input/Output related exceptions during the verification.SecurityException - if the verification failed.void connectionClosed(MessageConnection mc)
mc - a MessageConnection object which has been closed.Subject getSubject(MessageConnection mc)
javax.security.auth.Subject object used for a server to authorize any request from the specified connection.mc - the specified connection.Copyright © 2019 Terracotta, Inc.. All rights reserved.