com.dyuproject.web.auth
Interface CredentialSource

All Known Implementing Classes:
SimpleCredentialSource

public interface CredentialSource

The credential datasource that the Authentication uses. It could be from a properties file, database, or any other datasource.

Author:
David Yu

Method Summary
 String getPassword(String realm, String username, HttpServletRequest request)
           
 void onAuthenticated(String realm, String username, String password, HttpServletRequest request, HttpServletResponse response)
           
 

Method Detail

getPassword

String getPassword(String realm,
                   String username,
                   HttpServletRequest request)

onAuthenticated

void onAuthenticated(String realm,
                     String username,
                     String password,
                     HttpServletRequest request,
                     HttpServletResponse response)
                     throws ServletException,
                            IOException
Throws:
ServletException
IOException


Copyright © 2013. All Rights Reserved.