*
* @return credentials cache
*/
public DAVCredentialsCache getCredentialsCache(){
// get the credentials cashe
DAVCredentialsCache credentialsCashe = (DAVCredentialsCache) session.getAttribute("CredentialsCashe");
// if there is not 1 make 1 then get the cashe
if (credentialsCashe == null){
session.setAttribute("CredentialsCashe", new DAVCredentialsCache());
credentialsCashe = (DAVCredentialsCache) session.getAttribute("CredentialsCashe");
}
return credentialsCashe;
}