ch.odi.justblog.gui
Interface IAuthenticator

All Superinterfaces:
javax.security.auth.callback.CallbackHandler
All Known Implementing Classes:
DialogAuthenticator

public interface IAuthenticator
extends javax.security.auth.callback.CallbackHandler

Author:
oglueck

Method Summary
 void setContext(java.lang.String context)
          Provides the authenticator with information about the kind of service it needs to authenticate against.
 
Methods inherited from interface javax.security.auth.callback.CallbackHandler
handle
 

Method Detail

setContext

public void setContext(java.lang.String context)
Provides the authenticator with information about the kind of service it needs to authenticate against. This information shall be used to determine which credentials to use. The context can be a human readable text to present to the user as well as a JAAS login context name, depending on the concrete implementation of the authenticator.

Parameters:
context -


Copyright © 2005 Ortwin Glück. All Rights Reserved.