class SoapDocumentService extends AbstractService implements DocumentService {

	@Override
	public boolean unprotect(String sid, long docId, String password) throws Exception {
		validateSession();

		DocumentManager manager = (DocumentManager) Context.get().getBean(DocumentManager.class);
		DocumentDAO dao = (DocumentDAO) Context.get().getBean(DocumentDAO.class);
		Document doc = dao.findDocument(docId);
		return manager.unprotect(sid, doc.getId(), password);
	}

}