Package org.apache.jackrabbit.server
Interface CredentialsProvider
-
- All Known Implementing Classes:
BasicCredentialsProvider
public interface CredentialsProvider
This Interface defines a provider for the credentials.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 invalidjavax.servlet.ServletException
- if an error occurs
-
-