|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServerAdmin
This interface specifies methods to administrate a transport connection server.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||