org.apache.jackrabbit.server
Interface CredentialsProvider

All Known Implementing Classes:
BasicCredentialsProvider

public interface CredentialsProvider

This Interface defines a provider for the credentials.


Method Summary
 Credentials getCredentials(javax.servlet.http.HttpServletRequest request)
          Extracts the credentials from the given servlet request.
 

Method Detail

getCredentials

Credentials getCredentials(javax.servlet.http.HttpServletRequest request)
                           throws LoginException,
                                  javax.servlet.ServletException
Extracts the credentials from the given servlet request.

Parameters:
request -
Returns:
the credentials or null
Throws:
LoginException - if the credentials are invalid
javax.servlet.ServletException - if an error occurrs


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.