Package org.hippoecm.hst.core.request
Interface ContextCredentialsProvider
-
public interface ContextCredentialsProvider
HstRequestContextCredentialsProvider provides credentials based on the provided HstRequestContext.- Version:
- $Id$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.jcr.Credentials
getDefaultCredentials(HstRequestContext requestContext)
Returns the default credentials for this request context if available.javax.jcr.Credentials
getWritableCredentials(HstRequestContext requestContext)
Returns the writable credentials for this request context if available.
-
-
-
Method Detail
-
getDefaultCredentials
javax.jcr.Credentials getDefaultCredentials(HstRequestContext requestContext)
Returns the default credentials for this request context if available. Otherwise, returns null.- Parameters:
requestContext
-
-
getWritableCredentials
javax.jcr.Credentials getWritableCredentials(HstRequestContext requestContext)
Returns the writable credentials for this request context if available. Otherwise, returns null.- Parameters:
requestContext
-
-
-