org.apache.jackrabbit.server
Interface CredentialsProvider

All Known Implementing Classes:
BasicCredentialsProvider

public interface CredentialsProvider

This Interface defines a provider for the credentials.


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

Method Detail

getCredentials

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

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


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.