|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HostAuthenticationServer
This interface represents the minimum requirement for server parts that can listen to incoming authentication requests. It abstracts from the underlying channel.
| Method Summary | |
|---|---|
void |
addAuthenticationProgressHandler(AuthenticationProgressHandler handler)
Registers an event handler for listening to incoming authentication protocol events. |
void |
addProtocolCommandHandler(java.lang.String command,
ProtocolCommandHandler handler)
Adds a protocol command handler. |
boolean |
removeAuthenticationProgressHandler(AuthenticationProgressHandler handler)
Removes an event handler from listening to incoming authentication protocol events. |
boolean |
removeProtocolCommandHandler(java.lang.String command)
Removes a protocol command handler. |
void |
start()
Starts the server part. |
void |
stop()
Stops the server part. |
| Method Detail |
|---|
void start()
throws java.io.IOException
java.io.IOException
void stop()
throws InternalApplicationException
InternalApplicationExceptionvoid addAuthenticationProgressHandler(AuthenticationProgressHandler handler)
handler - The handler to register.boolean removeAuthenticationProgressHandler(AuthenticationProgressHandler handler)
handler - The handler to remove.
void addProtocolCommandHandler(java.lang.String command,
ProtocolCommandHandler handler)
command - The command to react to.handler - The handler that will be called to handle the protocol
session when it is started with command.boolean removeProtocolCommandHandler(java.lang.String command)
command - The command to stop reacting to.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||