com.raritantechnologies.security
Interface ILoginHandler

All Superinterfaces:
IConfigurable
All Known Implementing Classes:
JCIFSLoginHandler

public interface ILoginHandler
extends IConfigurable

Basic interface for remote or pluggable LoginHanders. Configuration XML is put in the SystemObjects section. Used to get external login information e.g. from an external web page or security system.

XML Configuration Schema:
  <SystemObject type="LoginHandler" name="[the loginHandlerName ]" >
    <!-- details required by implementation class -->
  </SystemObject>
 

Developed by Raritan Technologies .

Author:
Ted Sullivan

Method Summary
 boolean authenticate(HttpServletRequest request, HttpServletResponse response)
          returns true if the User can be identified (authenticated) - usually because a valid login profile can be obtained.
 ILoginInfo getLoginInfo(HttpServletRequest request, HttpServletResponse response)
          returns a login profile (ILoginInfo) from the HTTP request.
 ILoginInfo getLoginInfo(RaritanPageContext pageContext)
          returns a login profile from a RaritanPageContext.
 boolean usesAuthenticationChallenge()
          returns true if the implementation sends an HTTP authentication request to the client (e.g.
 
Methods inherited from interface com.raritantechnologies.searchApp.IConfigurable
initialize
 

Method Detail

authenticate

public boolean authenticate(HttpServletRequest request,
                            HttpServletResponse response)
returns true if the User can be identified (authenticated) - usually because a valid login profile can be obtained.


getLoginInfo

public ILoginInfo getLoginInfo(HttpServletRequest request,
                               HttpServletResponse response)
returns a login profile (ILoginInfo) from the HTTP request.


getLoginInfo

public ILoginInfo getLoginInfo(RaritanPageContext pageContext)
returns a login profile from a RaritanPageContext.


usesAuthenticationChallenge

public boolean usesAuthenticationChallenge()
returns true if the implementation sends an HTTP authentication request to the client (e.g. browser).