1 package ch.odi.justblog.gui;
2
3 import javax.security.auth.callback.CallbackHandler;
4
5 /***
6 *
7 *
8 * @author oglueck
9 */
10 public interface IAuthenticator extends CallbackHandler {
11 /***
12 * Provides the authenticator with information about the kind of
13 * service it needs to authenticate against. This information
14 * shall be used to determine which credentials to use.
15 * The context can be a human readable text to present to the user
16 * as well as a JAAS login context name,
17 * depending on the concrete implementation of the authenticator.
18 * @param context
19 */
20 void setContext(String context);
21 }